Skip to content

Commit 7bbb827

Browse files
authored
fix(docker): extend (not override) base image entrypoint (#2023)
1 parent ea3f778 commit 7bbb827

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/usr/local/bin/docker-entrypoint.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@ if [ "${AKHQ_CONFIGURATION}" ]; then
66
echo "${AKHQ_CONFIGURATION}" > /app/application.yml
77
fi
88

9-
exec "$@"
9+
# We currently override the base image ENTRYPOINT in our Dockerfile making it harder
10+
# to get access to the CA certificates feature provided by the base image ENTRYPOINT:
11+
# https://github.com/docker-library/docs/blob/master/eclipse-temurin/content.md#can-i-add-my-internal-ca-certificates-to-the-truststore
12+
# To fix this issue, we invoke the base image ENTRYPOINT script (/__cacert_entrypoint.sh) before the arguments.
13+
# Credits to https://superuser.com/a/1460890
14+
exec /__cacert_entrypoint.sh "$@"

0 commit comments

Comments
 (0)