diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 03b2adf12..de8da539d 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -48,4 +48,7 @@ LABEL maintainers="Ceph-CSI Authors" \ COPY --from=builder ${SRC_DIR}/_output/cephcsi /usr/local/bin/cephcsi +# verify that all dynamically linked libraries are available +RUN [ $(ldd /usr/local/bin/cephcsi | grep -c '=> not found') = '0' ] + ENTRYPOINT ["/usr/local/bin/cephcsi"]