Closed miikeat closed 8 months ago
I just noticed that overwriting the entrypoint of the container fixes the issue:
docker run --rm -it -e test.test=123 -e test=123 --entrypoint env eclipse-temurin:21.0.2_13-jre
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=c8530c795b30
TERM=xterm
test.test=123
test=123
JAVA_HOME=/opt/java/openjdk
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
JAVA_VERSION=jdk-21.0.2+13
HOME=/root
From __cacert_entrypoint.sh
#!/usr/bin/env bash
# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details
#!/usr/bin/env sh
# Converted to POSIX shell to avoid the need for bash in the image
I guess someone didn't read the comment why bash is needed! But now it should be an easy fix...
already fixed by #493
Please add the exact image (with tag) that you are using
eclipse-temurin:21.0.2_13-jre
Please add the version of Docker you are running
4.25.2 (129061)
What happened?
Dotted environemt variables are lost when starting eclipse-temurin:21.0.2_13-jre. In comparisson, this works with the previous version eclipse-temurin:21.0.1_12-jre!
This issue looks a lot like the issue described in #415
Relevant log output