We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3751804 commit f061aebCopy full SHA for f061aeb
docker/Dockerfile
@@ -88,8 +88,14 @@ RUN rm -r tutorial-examples
88
89
RUN mkdir dh && mkdir ssm-agent
90
91
-# disable entry point specified by the Gobra base container:
92
-# ENTRYPOINT []
93
-ENTRYPOINT cp -r dh-orig/. dh/ && \
94
- cp -r ssm-agent-orig/. ssm-agent/ && \
95
- /bin/bash
+# disable entry point specified by the Gobra image and make sure to setup the directories
+# by creating the following shell script and setting it as the image's entrypoint:
+COPY --chmod=755 <<EOT /entrypoint.sh
+#!/usr/bin/env bash
+set -e
96
+cp -r dh-orig/. dh/
97
+cp -r ssm-agent-orig/. ssm-agent/
98
+/bin/bash
99
+EOT
100
+
101
+ENTRYPOINT ["/entrypoint.sh"]
0 commit comments