1
0

Update spark

This commit is contained in:
nicolas.dorier
2019-10-20 16:04:32 +09:00
parent 7528225a72
commit f280b8e6cc
4 changed files with 12 additions and 6 deletions

View File

@@ -465,6 +465,8 @@ namespace DockerFileBuildHelper
break;
case "spark-wallet":
dockerInfo.DockerFilePath = $"Dockerfile";
dockerInfo.DockerFilePathARM32v7 = $"arm32v7.Dockerfile";
dockerInfo.DockerFilePathARM64v8 = $"arm64v8.Dockerfile";
dockerInfo.GitLink = "https://github.com/shesek/spark-wallet";
dockerInfo.GitRef = $"v{image.Tag.Split('-')[0]}";
break;

View File

@@ -90,14 +90,18 @@ cd - && cd ..
# Build spark-wallet
# https://raw.githubusercontent.com/shesek/spark-wallet/v0.2.8/Dockerfile
# https://raw.githubusercontent.com/shesek/spark-wallet/v0.2.9/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building shesek/spark-wallet:0.2.8-standalone"
# https://raw.githubusercontent.com/shesek/spark-wallet/v0.2.9/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
# https://raw.githubusercontent.com/shesek/spark-wallet/v0.2.9/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile"
echo "Building shesek/spark-wallet:0.2.9-standalone"
git clone https://github.com/shesek/spark-wallet spark-wallet
cd spark-wallet
git checkout v0.2.8
git checkout v0.2.9
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shesek/spark-wallet:0.2.8-standalone" .
docker build -f "$DOCKERFILE" -t "shesek/spark-wallet:0.2.9-standalone" .
cd - && cd ..