From 3d39f86558540a301a551717c7cff3937fac6f4c Mon Sep 17 00:00:00 2001
From: Scott Stroud <sstroud@confluent.io>
Date: Thu, 27 Jul 2023 08:02:36 -0600
Subject: [PATCH] script added

---
 Dockerfile            | 4 +++-
 scripts/entrypoint.sh | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)
 create mode 100755 scripts/entrypoint.sh

diff --git a/Dockerfile b/Dockerfile
index 2884f7a..b5ac65b 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 0000000..419320b
--- /dev/null
+++ b/scripts/entrypoint.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+/opt/manager
\ No newline at end of file
-- 
GitLab