diff --git a/Dockerfile b/Dockerfile index 2884f7a5634611e91f1ffebe199e59e0b359972d..b5ac65b3f667b4c0b2eb56b0e7b27dccf9a9542d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,8 @@ COPY hardening_manifest.yaml /etc/confluent/ironbank/ COPY --from=base /licenses /licenses COPY --from=base /opt/manager /opt/manager +COPY scripts/entrypoint.sh /entrypoint.sh + RUN echo "===> Dependency update" \ && dnf update -y --nodocs \ && chmod gu-s /usr/bin/write \ @@ -30,7 +32,7 @@ RUN echo "===> Dependency update" \ && yum clean all \ && rm -rf /tmp/* /var/cache/dnf -ENTRYPOINT ["/opt/manager"] +ENTRYPOINT ["/entrypoint.sh"] # Polling period : 5 seconds # Timeout period : 2 seconds (if the polling does not return within this time, treat as a failed poll) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh new file mode 100755 index 0000000000000000000000000000000000000000..419320b13155a917b4aa5e0be112de8d8ae2006a --- /dev/null +++ b/scripts/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/opt/manager \ No newline at end of file