adding pgp key for verifying btcd releases.

This commit is contained in:
Colin Lyons
2023-01-16 15:20:06 +00:00
parent 532005754c
commit 214d7a04f9
2 changed files with 8 additions and 3 deletions

View File

@@ -58,6 +58,11 @@ RUN set -ex && echo "adding and permissioning /etc directories" \
&& mkdir -pv /etc/lnd/keys && chmod 750 /etc/lnd/keys && chown lnd:lnd /etc/lnd/keys \
&& mkdir -pv /etc/indra && chmod 755 /etc/indra
RUN set -ex && echo "adding keys to verify btcd releases" \
&& wget https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/guggero.asc \
&& chmod 555 guggero.asc \
&& mv guggero.asc /etc/btcd/keys/
RUN set -ex && echo "copying /etc directories to root filesystem" \
&& cp -rp /etc/btcd /tmp/root-fs/etc/btcd \
&& cp -rp /etc/lnd /tmp/root-fs/etc/lnd \

View File

@@ -1,9 +1,9 @@
#!/bin/bash
docker build -t indralabs/scratch-builder .
docker build -t indralabs/scratch-builder ./docker/scratch/.
docker run --rm -it --volume=${PWD}/tmp:/output indralabs/scratch-builder cp /tmp/root-fs.tgz /output
docker run --rm -it --volume=${PWD}/docker/scratch/tmp:/output indralabs/scratch-builder cp /tmp/root-fs.tgz /output
docker image import tmp/root-fs.tgz indralabs/scratch
docker image import ${PWD}/docker/scratch/tmp/root-fs.tgz indralabs/scratch
docker push indralabs/scratch:latest