1
0

Add NDLC-CLI

This commit is contained in:
nicolas.dorier
2020-11-21 10:50:27 +09:00
parent c297d090ee
commit 835672dd18
6 changed files with 42 additions and 0 deletions

View File

@@ -430,6 +430,14 @@ namespace DockerFileBuildHelper
dockerInfo.GitRef = $"v{image.Tag}";
dockerInfo.SupportedByUs = true;
break;
case "ndlc-cli":
dockerInfo.DockerFilePath = "amd64.Dockerfile";
dockerInfo.DockerFilePathARM32v7 = "arm32v7.Dockerfile";
dockerInfo.DockerFilePathARM64v8 = "arm64v8.Dockerfile";
dockerInfo.GitLink = "https://github.com/dgarage/ndlc";
dockerInfo.GitRef = $"releases/{image.Tag}";
dockerInfo.SupportedByUs = true;
break;
case "btctransmuter":
dockerInfo.DockerFilePath = "Dockerfiles/amd64.Dockerfile";
dockerInfo.DockerFilePathARM32v7 = "Dockerfiles/arm32v7.Dockerfile";

View File

@@ -639,6 +639,22 @@ docker build -f "$DOCKERFILE" -t "jvandrew/isso:atron.22" .
cd - && cd ..
# Build ndlc-cli
# https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/amd64.Dockerfile
DOCKERFILE="amd64.Dockerfile"
# https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
# https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile"
echo "Building nicolasdorier/ndlc-cli:1.0.1"
git clone https://github.com/dgarage/ndlc ndlc-cli
cd ndlc-cli
git checkout releases/1.0.1
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "nicolasdorier/ndlc-cli:1.0.1" .
cd - && cd ..
# Build pihole
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_amd64
DOCKERFILE="Dockerfile_amd64"