|
|
@ -109,19 +109,19 @@ docker build -f "$DOCKERFILE" -t "shesek/spark-wallet:0.2.9-standalone" . |
|
|
|
cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
|
# Build clightning-rest |
|
|
|
# https://raw.githubusercontent.com/kukks/c-lightning-REST/v0.2.0/amd64.Dockerfile |
|
|
|
# Build c-lightning-rest |
|
|
|
# https://raw.githubusercontent.com/Ride-The-Lightning/c-lightning-REST/v0.2.1/amd64.Dockerfile |
|
|
|
DOCKERFILE="amd64.Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/kukks/c-lightning-REST/v0.2.0/arm32v7.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/Ride-The-Lightning/c-lightning-REST/v0.2.1/arm32v7.Dockerfile |
|
|
|
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile" |
|
|
|
# https://raw.githubusercontent.com/kukks/c-lightning-REST/v0.2.0/arm64v8.Dockerfile |
|
|
|
# https://raw.githubusercontent.com/Ride-The-Lightning/c-lightning-REST/v0.2.1/arm64v8.Dockerfile |
|
|
|
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile" |
|
|
|
echo "Building kukks/clightning-rest:0.2.0" |
|
|
|
git clone https://github.com/kukks/c-lightning-REST clightning-rest |
|
|
|
cd clightning-rest |
|
|
|
git checkout v0.2.0 |
|
|
|
echo "Building saubyk/c-lightning-rest:0.2.1" |
|
|
|
git clone https://github.com/Ride-The-Lightning/c-lightning-REST c-lightning-rest |
|
|
|
cd c-lightning-rest |
|
|
|
git checkout v0.2.1 |
|
|
|
cd "$(dirname $DOCKERFILE)" |
|
|
|
docker build -f "$DOCKERFILE" -t "kukks/clightning-rest:0.2.0" . |
|
|
|
docker build -f "$DOCKERFILE" -t "saubyk/c-lightning-rest:0.2.1" . |
|
|
|
cd - && cd .. |
|
|
|
|
|
|
|
|
|
|
|