diff --git a/package/Dockerfile b/package/Dockerfile index a6f541a16..6884a0ceb 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -131,14 +131,17 @@ COPY --from=builder \ /usr/sbin/ COPY --from=builder \ - /usr/local/lib64 \ - /usr/local/lib64 + /usr/local/lib64 \ + /usr/local/lib64 RUN ldconfig COPY package/bin/longhorn-instance-manager /usr/local/bin/ COPY package/instance-manager /usr/local/bin/ +# Verify the dependencies for the binaries +RUN ldd /usr/local/bin/* /usr/local/sbin/* /usr/sbin/* | grep "not found" && exit 1 || true + VOLUME /usr/local/bin # Add Tini