mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
[Docker] Add support for arm32/64 (#2104)
This commit is contained in:
parent
e79a02ac2e
commit
3585575d68
5 changed files with 78 additions and 1 deletions
10
hooks/build
Normal file
10
hooks/build
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Custom build script to build images for all supported architectures.
|
||||
# Example for IMAGE_NAME: rss-builder/rss-builder:stable
|
||||
|
||||
for arch in amd64 arm32v7 arm64v8
|
||||
do
|
||||
echo "Building $IMAGE_NAME-$arch"
|
||||
docker build --build-arg FROM_ARCH=$arch --file $DOCKERFILE_PATH --tag $IMAGE_NAME-$arch .
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue