From 211d355e358884288bd1a5495de76a31c1ac98c2 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 12 Nov 2024 20:40:30 -0400 Subject: [PATCH] Run `ldd(1)` on binaries as part of the build (#1) Signed-off-by: Juan Cruz Viotti --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index f205a90..1417575 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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