1
0
This commit is contained in:
nicolas.dorier
2023-10-08 12:49:01 +09:00
parent 8fc5e63f5f
commit d3f3a4e6ed
3 changed files with 8 additions and 8 deletions

View File

@@ -94,18 +94,18 @@ cd - && cd ..
# Build rtl
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.0/dockerfiles/Dockerfile
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.1/dockerfiles/Dockerfile
DOCKERFILE="dockerfiles/Dockerfile"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.0/dockerfiles/Dockerfile.arm32v7
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.1/dockerfiles/Dockerfile.arm32v7
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm32v7"
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.0/dockerfiles/Dockerfile.arm64v8
# https://raw.githubusercontent.com/Ride-The-Lightning/RTL/v0.14.1/dockerfiles/Dockerfile.arm64v8
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="dockerfiles/Dockerfile.arm64v8"
echo "Building shahanafarooqui/rtl:0.14.0"
echo "Building shahanafarooqui/rtl:0.14.1"
git clone https://github.com/Ride-The-Lightning/RTL rtl
cd rtl
git checkout v0.14.0
git checkout v0.14.1
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shahanafarooqui/rtl:0.14.0" .
docker build -f "$DOCKERFILE" -t "shahanafarooqui/rtl:0.14.1" .
cd - && cd ..