mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 04:50:42 +02:00
Add NDLC-CLI
This commit is contained in:
parent
c297d090ee
commit
835672dd18
@ -332,6 +332,7 @@ We are trying to update our dependencies to run on `arm32v7` and `x64` boards. H
|
||||
| btcpayserver/btctransmuter | 0.0.55 | [✔️](https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/amd64.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/arm32v7.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/arm64v8.Dockerfile) | [Github](https://github.com/btcpayserver/btctransmuter) - [DockerHub](https://hub.docker.com/r/btcpayserver/btctransmuter) |
|
||||
| btcpayserver/btcpayserver-configurator | 0.0.21 | [✔️](https://raw.githubusercontent.com/btcpayserver/btcpayserver-configurator/v0.0.21/Dockerfiles/amd64.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/btcpayserver-configurator/v0.0.21/Dockerfiles/arm32v7.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/btcpayserver-configurator/v0.0.21/Dockerfiles/arm64v8.Dockerfile) | [Github](https://github.com/btcpayserver/btcpayserver-configurator) - [DockerHub](https://hub.docker.com/r/btcpayserver/btcpayserver-configurator) |
|
||||
| btcpayserver/eps | 0.2.0 | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/EPS/0.2.0/EPS/0.2.0/linuxamd64.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/EPS/0.2.0/EPS/0.2.0/linuxarm32v7.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/EPS/0.2.0/EPS/0.2.0/linuxarm64v8.Dockerfile) | [Github](https://github.com/btcpayserver/dockerfile-deps) - [DockerHub](https://hub.docker.com/r/btcpayserver/eps) |
|
||||
| nicolasdorier/ndlc-cli | 1.0.1 | [✔️](https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/amd64.Dockerfile) | [✔️](https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/arm32v7.Dockerfile) | [✔️](https://raw.githubusercontent.com/dgarage/ndlc/releases/1.0.1/arm64v8.Dockerfile) | [Github](https://github.com/dgarage/ndlc) - [DockerHub](https://hub.docker.com/r/nicolasdorier/ndlc-cli) |
|
||||
| pihole/pihole | v5.0 | [✔️](https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_amd64) | [✔️](https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_armhf) | [✔️](https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_arm64) | [Github](https://github.com/pi-hole/docker-pi-hole) - [DockerHub](https://hub.docker.com/r/pihole/pihole) |
|
||||
| btcpayserver/tor | 0.4.2.7 | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxamd64.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxarm32v7.Dockerfile) | [✔️](https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Tor/0.4.2.7/Tor/0.4.2.7/linuxarm64v8.Dockerfile) | [Github](https://github.com/btcpayserver/dockerfile-deps) - [DockerHub](https://hub.docker.com/r/btcpayserver/tor) |
|
||||
| postgres | 9.6.5 | [✔️](https://raw.githubusercontent.com/docker-library/postgres/b7cb3c6eacea93be2259381033be3cc435649369/9.6/Dockerfile) | [✔️](https://raw.githubusercontent.com/docker-library/postgres/b7cb3c6eacea93be2259381033be3cc435649369/9.6/Dockerfile) | [✔️](https://raw.githubusercontent.com/docker-library/postgres/b7cb3c6eacea93be2259381033be3cc435649369/9.6/Dockerfile) | [Github](https://github.com/docker-library/postgres) - [DockerHub](https://hub.docker.com/_/postgres) |
|
||||
|
@ -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";
|
||||
|
@ -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"
|
||||
|
10
docker-compose-generator/docker-fragments/opt-add-ndlc.yml
Normal file
10
docker-compose-generator/docker-fragments/opt-add-ndlc.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
services:
|
||||
ndlc:
|
||||
container_name: ndlci_cli
|
||||
image: nicolasdorier/ndlc-cli:1.0.1
|
||||
restart: 'no'
|
||||
volumes:
|
||||
- "ndlc_cli_datadir:/root/.ndlc"
|
||||
volumes:
|
||||
ndlc_cli_datadir:
|
@ -18,6 +18,7 @@ install_tooling() {
|
||||
"btcpayserver_trezarcoind" "trezarcoin-cli.sh" "Command line for your Trezar instance" \
|
||||
"btcpayserver_viacoind" "viacoin-cli.sh" "Command line for your Viacoin instance" \
|
||||
"btcpayserver_elementsd" "elements-cli.sh" "Command line for your Elements/Liquid instance" \
|
||||
"ndlci_cli" "ndlc-cli.sh" "Command line for NDLC-CLI" \
|
||||
"pihole" "pihole.sh" "Command line for running pihole commands" \
|
||||
"*" "btcpay-clean.sh" "Command line for deleting old unused docker images" \
|
||||
"*" "btcpay-down.sh" "Command line for stopping all services related to BTCPay Server" \
|
||||
|
6
ndlc-cli.sh
Executable file
6
ndlc-cli.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
pushd . > /dev/null
|
||||
cd "$(dirname "$BTCPAY_ENV_FILE")"
|
||||
docker-compose -f $BTCPAY_DOCKER_COMPOSE run --rm ndlc "$@"
|
||||
popd > /dev/null
|
Loading…
Reference in New Issue
Block a user