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 60bfe5c commit d0a03f5Copy full SHA for d0a03f5
Dockerfile
@@ -6,5 +6,7 @@ ENV SSH_KNOWN_HOSTS="/etc/ssh/ssh_known_hosts"
6
7
RUN apk add --no-cache openssh-client && ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
8
9
-ENTRYPOINT ["/gitops-commit"]
+COPY entrypoint.sh .
10
+
11
+ENTRYPOINT ["/entrypoint.sh"]
12
COPY gitops-commit /
entrypoint.sh
@@ -0,0 +1,6 @@
1
+#/bin/sh
2
+set -e
3
4
+ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
5
+exec "$@"
0 commit comments