adding pgp key for verifying btcd releases.
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user