docker: add keys to docker image

Because the PGP keys are no longer downloaded from Keybase but are used
from the repo directly, we also have to copy them to the Docker image so
we can run the script without needing to supply them through a volume.
This commit is contained in:
Oliver Gugger
2021-09-27 11:03:13 +02:00
parent 6d0368a189
commit 5afed8ab62

View File

@@ -44,6 +44,7 @@ RUN apk --no-cache add \
COPY --from=builder /go/bin/lncli /bin/
COPY --from=builder /go/bin/lnd /bin/
COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/verify-install.sh /
COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/keys/* /keys/
# Store the SHA256 hash of the binaries that were just produced for later
# verification.