1
0

update doc

This commit is contained in:
nicolas.dorier
2021-01-26 12:41:54 +09:00
parent 64505689aa
commit 56c5c5fee2
2 changed files with 7 additions and 7 deletions

View File

@@ -688,18 +688,18 @@ cd - && cd ..
# Build thunderhub
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.0/Dockerfile
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.5/Dockerfile
DOCKERFILE="Dockerfile"
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.0/arm32v7.Dockerfile
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.5/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.0/arm64v8.Dockerfile
# https://raw.githubusercontent.com/apotdevin/thunderhub/v0.12.5/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile"
echo "Building apotdevin/thunderhub:base-v0.12.0"
echo "Building apotdevin/thunderhub:base-v0.12.5"
git clone https://github.com/apotdevin/thunderhub thunderhub
cd thunderhub
git checkout v0.12.0
git checkout v0.12.5
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "apotdevin/thunderhub:base-v0.12.0" .
docker build -f "$DOCKERFILE" -t "apotdevin/thunderhub:base-v0.12.5" .
cd - && cd ..