Skip to content

Commit

Permalink
Run ldd(1) on binaries as part of the build (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti authored Nov 13, 2024
1 parent 5c32854 commit 211d355
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM ghcr.io/sourcemeta/registry:main AS builder
COPY configuration.json /app/configuration.json
COPY vendor /app/vendor

# For debugging purposes
RUN ldd /usr/bin/sourcemeta-registry-index
RUN ldd /usr/bin/sourcemeta-registry-server

RUN sourcemeta-registry-index /app/configuration.json /app/index

FROM scratch
Expand Down

0 comments on commit 211d355

Please sign in to comment.