1
0

bump lightning charge

This commit is contained in:
nicolas.dorier
2019-10-29 17:19:33 +09:00
parent cc237c141a
commit 7979dfb36d
4 changed files with 12 additions and 6 deletions

View File

@@ -273,6 +273,8 @@ namespace DockerFileBuildHelper
break;
case "lightning-charge":
dockerInfo.DockerFilePath = $"Dockerfile";
dockerInfo.DockerFilePathARM32v7 = "arm32v7.Dockerfile";
dockerInfo.DockerFilePathARM64v8 = "arm64v8.Dockerfile";
dockerInfo.GitLink = "https://github.com/ElementsProject/lightning-charge";
dockerInfo.GitRef = $"v{image.Tag.Replace("-standalone", "")}";
dockerInfo.SupportedByUs = true;

View File

@@ -78,14 +78,18 @@ cd - && cd ..
# Build lightning-charge
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.6/Dockerfile
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.11/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building shesek/lightning-charge:0.4.6-standalone"
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.11/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.11/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile"
echo "Building shesek/lightning-charge:0.4.11-standalone"
git clone https://github.com/ElementsProject/lightning-charge lightning-charge
cd lightning-charge
git checkout v0.4.6
git checkout v0.4.11
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shesek/lightning-charge:0.4.6-standalone" .
docker build -f "$DOCKERFILE" -t "shesek/lightning-charge:0.4.11-standalone" .
cd - && cd ..