Skip to content

Commit 3f705ff

Browse files
committed
Dockerfile: copy keys and verify-install.sh
These were missing from the constructed image, so a recommended verification method in our docs didn't work. Now $ docker run --rm --entrypoint="" \ "$IMAGE" /verify-install.sh "$TAG" will run the verification script on the binaries in the image, as expected.
1 parent 32440cb commit 3f705ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ RUN apk --no-cache add \
3939
COPY --from=builder /go/bin/tapcli /bin/
4040
COPY --from=builder /go/bin/tapd /bin/
4141

42+
# Copy the verification script and keys for signature verification.
43+
COPY --from=builder \
44+
/go/src/github.com/lightninglabs/taproot-assets/scripts/verify-install.sh \
45+
/verify-install.sh
46+
COPY --from=builder \
47+
/go/src/github.com/lightninglabs/taproot-assets/scripts/keys \
48+
/keys
49+
4250
# Store the SHA256 hash of the binaries that were just produced for later
4351
# verification.
4452
RUN sha256sum /bin/tapd /bin/tapcli > /shasums.txt \

0 commit comments

Comments
 (0)