diff --git a/11/jdk/alpine/Dockerfile.releases.full b/11/jdk/alpine/Dockerfile.releases.full index eacb30f1a..b0c388e9b 100644 --- a/11/jdk/alpine/Dockerfile.releases.full +++ b/11/jdk/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-11.0.20+8 @@ -60,7 +61,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/11/jdk/alpine/entrypoint.sh b/11/jdk/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jdk/alpine/entrypoint.sh +++ b/11/jdk/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jdk/centos/Dockerfile.releases.full b/11/jdk/centos/Dockerfile.releases.full index 95002f9ae..4a897e5e9 100644 --- a/11/jdk/centos/Dockerfile.releases.full +++ b/11/jdk/centos/Dockerfile.releases.full @@ -66,7 +66,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/11/jdk/centos/entrypoint.sh b/11/jdk/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/11/jdk/centos/entrypoint.sh +++ b/11/jdk/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/11/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index 3a9931c17..bdfa9b621 100644 --- a/11/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/11/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -70,7 +70,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/11/jdk/ubi/ubi9-minimal/entrypoint.sh b/11/jdk/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/11/jdk/ubi/ubi9-minimal/entrypoint.sh +++ b/11/jdk/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jdk/ubuntu/focal/Dockerfile.releases.full b/11/jdk/ubuntu/focal/Dockerfile.releases.full index d46cae05c..a0c9f5f73 100644 --- a/11/jdk/ubuntu/focal/Dockerfile.releases.full +++ b/11/jdk/ubuntu/focal/Dockerfile.releases.full @@ -83,7 +83,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/11/jdk/ubuntu/focal/entrypoint.sh b/11/jdk/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jdk/ubuntu/focal/entrypoint.sh +++ b/11/jdk/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jdk/ubuntu/jammy/Dockerfile.releases.full b/11/jdk/ubuntu/jammy/Dockerfile.releases.full index 4a9d7c5e5..c2e9e4527 100644 --- a/11/jdk/ubuntu/jammy/Dockerfile.releases.full +++ b/11/jdk/ubuntu/jammy/Dockerfile.releases.full @@ -83,7 +83,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/11/jdk/ubuntu/jammy/entrypoint.sh b/11/jdk/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jdk/ubuntu/jammy/entrypoint.sh +++ b/11/jdk/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jre/alpine/Dockerfile.releases.full b/11/jre/alpine/Dockerfile.releases.full index 0b2ab94ae..cccef6cfb 100644 --- a/11/jre/alpine/Dockerfile.releases.full +++ b/11/jre/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-11.0.20+8 @@ -59,5 +60,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/11/jre/alpine/entrypoint.sh b/11/jre/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jre/alpine/entrypoint.sh +++ b/11/jre/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jre/centos/Dockerfile.releases.full b/11/jre/centos/Dockerfile.releases.full index 9d5518459..f37b142d6 100644 --- a/11/jre/centos/Dockerfile.releases.full +++ b/11/jre/centos/Dockerfile.releases.full @@ -65,5 +65,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/11/jre/centos/entrypoint.sh b/11/jre/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/11/jre/centos/entrypoint.sh +++ b/11/jre/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/11/jre/ubi/ubi9-minimal/Dockerfile.releases.full index e9a2e0115..dc7fb828f 100644 --- a/11/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/11/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -69,5 +69,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/11/jre/ubi/ubi9-minimal/entrypoint.sh b/11/jre/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/11/jre/ubi/ubi9-minimal/entrypoint.sh +++ b/11/jre/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jre/ubuntu/focal/Dockerfile.releases.full b/11/jre/ubuntu/focal/Dockerfile.releases.full index 545a4d25c..c2946e557 100644 --- a/11/jre/ubuntu/focal/Dockerfile.releases.full +++ b/11/jre/ubuntu/focal/Dockerfile.releases.full @@ -82,5 +82,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/11/jre/ubuntu/focal/entrypoint.sh b/11/jre/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jre/ubuntu/focal/entrypoint.sh +++ b/11/jre/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/11/jre/ubuntu/jammy/Dockerfile.releases.full b/11/jre/ubuntu/jammy/Dockerfile.releases.full index 8f1b1b15c..6edbbe46b 100644 --- a/11/jre/ubuntu/jammy/Dockerfile.releases.full +++ b/11/jre/ubuntu/jammy/Dockerfile.releases.full @@ -82,5 +82,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/11/jre/ubuntu/jammy/entrypoint.sh b/11/jre/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/11/jre/ubuntu/jammy/entrypoint.sh +++ b/11/jre/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jdk/alpine/Dockerfile.releases.full b/17/jdk/alpine/Dockerfile.releases.full index 0618509bd..08aec384e 100644 --- a/17/jdk/alpine/Dockerfile.releases.full +++ b/17/jdk/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-17.0.8+7 @@ -60,7 +61,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/17/jdk/alpine/entrypoint.sh b/17/jdk/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jdk/alpine/entrypoint.sh +++ b/17/jdk/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jdk/centos/Dockerfile.releases.full b/17/jdk/centos/Dockerfile.releases.full index f80e36bfe..d40d52932 100644 --- a/17/jdk/centos/Dockerfile.releases.full +++ b/17/jdk/centos/Dockerfile.releases.full @@ -66,7 +66,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/17/jdk/centos/entrypoint.sh b/17/jdk/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/17/jdk/centos/entrypoint.sh +++ b/17/jdk/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/17/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index 0e06f902a..3e85bdb88 100644 --- a/17/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/17/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -70,7 +70,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/17/jdk/ubi/ubi9-minimal/entrypoint.sh b/17/jdk/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/17/jdk/ubi/ubi9-minimal/entrypoint.sh +++ b/17/jdk/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jdk/ubuntu/focal/Dockerfile.releases.full b/17/jdk/ubuntu/focal/Dockerfile.releases.full index 4b3d678d4..fc8795712 100644 --- a/17/jdk/ubuntu/focal/Dockerfile.releases.full +++ b/17/jdk/ubuntu/focal/Dockerfile.releases.full @@ -83,7 +83,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/17/jdk/ubuntu/focal/entrypoint.sh b/17/jdk/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jdk/ubuntu/focal/entrypoint.sh +++ b/17/jdk/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jdk/ubuntu/jammy/Dockerfile.releases.full b/17/jdk/ubuntu/jammy/Dockerfile.releases.full index cac02febe..05b2404fe 100644 --- a/17/jdk/ubuntu/jammy/Dockerfile.releases.full +++ b/17/jdk/ubuntu/jammy/Dockerfile.releases.full @@ -83,7 +83,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/17/jdk/ubuntu/jammy/entrypoint.sh b/17/jdk/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jdk/ubuntu/jammy/entrypoint.sh +++ b/17/jdk/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jre/alpine/Dockerfile.releases.full b/17/jre/alpine/Dockerfile.releases.full index 9f14b79a3..adc92e16b 100644 --- a/17/jre/alpine/Dockerfile.releases.full +++ b/17/jre/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-17.0.8+7 @@ -59,5 +60,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/17/jre/alpine/entrypoint.sh b/17/jre/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jre/alpine/entrypoint.sh +++ b/17/jre/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jre/centos/Dockerfile.releases.full b/17/jre/centos/Dockerfile.releases.full index 1670a996f..96f4b7ac8 100644 --- a/17/jre/centos/Dockerfile.releases.full +++ b/17/jre/centos/Dockerfile.releases.full @@ -65,5 +65,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/17/jre/centos/entrypoint.sh b/17/jre/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/17/jre/centos/entrypoint.sh +++ b/17/jre/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/17/jre/ubi/ubi9-minimal/Dockerfile.releases.full index c04a5d31c..01963789a 100644 --- a/17/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/17/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -69,5 +69,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/17/jre/ubi/ubi9-minimal/entrypoint.sh b/17/jre/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/17/jre/ubi/ubi9-minimal/entrypoint.sh +++ b/17/jre/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jre/ubuntu/focal/Dockerfile.releases.full b/17/jre/ubuntu/focal/Dockerfile.releases.full index 6af482251..ae3ebe670 100644 --- a/17/jre/ubuntu/focal/Dockerfile.releases.full +++ b/17/jre/ubuntu/focal/Dockerfile.releases.full @@ -82,5 +82,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/17/jre/ubuntu/focal/entrypoint.sh b/17/jre/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jre/ubuntu/focal/entrypoint.sh +++ b/17/jre/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/17/jre/ubuntu/jammy/Dockerfile.releases.full b/17/jre/ubuntu/jammy/Dockerfile.releases.full index 54fa15775..c0bd36e77 100644 --- a/17/jre/ubuntu/jammy/Dockerfile.releases.full +++ b/17/jre/ubuntu/jammy/Dockerfile.releases.full @@ -82,5 +82,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/17/jre/ubuntu/jammy/entrypoint.sh b/17/jre/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/17/jre/ubuntu/jammy/entrypoint.sh +++ b/17/jre/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jdk/alpine/Dockerfile.releases.full b/20/jdk/alpine/Dockerfile.releases.full index 20c6d81be..f2805e8e6 100644 --- a/20/jdk/alpine/Dockerfile.releases.full +++ b/20/jdk/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-20.0.2+9 @@ -60,7 +61,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/20/jdk/alpine/entrypoint.sh b/20/jdk/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/20/jdk/alpine/entrypoint.sh +++ b/20/jdk/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index c810d7f70..43adf3672 100644 --- a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -62,7 +62,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/20/jdk/ubi/ubi9-minimal/entrypoint.sh b/20/jdk/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/20/jdk/ubi/ubi9-minimal/entrypoint.sh +++ b/20/jdk/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jdk/ubuntu/jammy/Dockerfile.releases.full b/20/jdk/ubuntu/jammy/Dockerfile.releases.full index 2f26d9845..51cee6116 100644 --- a/20/jdk/ubuntu/jammy/Dockerfile.releases.full +++ b/20/jdk/ubuntu/jammy/Dockerfile.releases.full @@ -71,7 +71,7 @@ RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] CMD ["jshell"] diff --git a/20/jdk/ubuntu/jammy/entrypoint.sh b/20/jdk/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/20/jdk/ubuntu/jammy/entrypoint.sh +++ b/20/jdk/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jre/alpine/Dockerfile.releases.full b/20/jre/alpine/Dockerfile.releases.full index 43b8a2c8e..2523f05c3 100644 --- a/20/jre/alpine/Dockerfile.releases.full +++ b/20/jre/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk-20.0.2+9 @@ -59,5 +60,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/alpine/entrypoint.sh b/20/jre/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/20/jre/alpine/entrypoint.sh +++ b/20/jre/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full index 69359af3e..5b5525a49 100644 --- a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -61,5 +61,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/ubi/ubi9-minimal/entrypoint.sh b/20/jre/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/20/jre/ubi/ubi9-minimal/entrypoint.sh +++ b/20/jre/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/20/jre/ubuntu/jammy/Dockerfile.releases.full b/20/jre/ubuntu/jammy/Dockerfile.releases.full index 813c07ff1..09b52094f 100644 --- a/20/jre/ubuntu/jammy/Dockerfile.releases.full +++ b/20/jre/ubuntu/jammy/Dockerfile.releases.full @@ -70,5 +70,5 @@ RUN echo Verifying install ... \ && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java \ && echo java --version && java --version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/20/jre/ubuntu/jammy/entrypoint.sh b/20/jre/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/20/jre/ubuntu/jammy/entrypoint.sh +++ b/20/jre/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jdk/alpine/Dockerfile.releases.full b/8/jdk/alpine/Dockerfile.releases.full index 210da7269..b7782df07 100644 --- a/8/jdk/alpine/Dockerfile.releases.full +++ b/8/jdk/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk8u382-b05 @@ -59,5 +60,5 @@ RUN echo Verifying install ... \ && echo javac -version && javac -version \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jdk/alpine/entrypoint.sh b/8/jdk/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jdk/alpine/entrypoint.sh +++ b/8/jdk/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jdk/centos/Dockerfile.releases.full b/8/jdk/centos/Dockerfile.releases.full index 7e0b71d91..8709f65c1 100644 --- a/8/jdk/centos/Dockerfile.releases.full +++ b/8/jdk/centos/Dockerfile.releases.full @@ -65,5 +65,5 @@ RUN echo Verifying install ... \ && echo javac -version && javac -version \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jdk/centos/entrypoint.sh b/8/jdk/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/8/jdk/centos/entrypoint.sh +++ b/8/jdk/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/8/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index ca60450b8..d3a0e5f9e 100644 --- a/8/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/8/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -65,5 +65,5 @@ RUN echo Verifying install ... \ && echo javac -version && javac -version \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jdk/ubi/ubi9-minimal/entrypoint.sh b/8/jdk/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/8/jdk/ubi/ubi9-minimal/entrypoint.sh +++ b/8/jdk/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jdk/ubuntu/focal/Dockerfile.releases.full b/8/jdk/ubuntu/focal/Dockerfile.releases.full index 5eeeeebf5..1bfb41074 100644 --- a/8/jdk/ubuntu/focal/Dockerfile.releases.full +++ b/8/jdk/ubuntu/focal/Dockerfile.releases.full @@ -79,5 +79,5 @@ RUN echo Verifying install ... \ && echo javac -version && javac -version \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jdk/ubuntu/focal/entrypoint.sh b/8/jdk/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jdk/ubuntu/focal/entrypoint.sh +++ b/8/jdk/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jdk/ubuntu/jammy/Dockerfile.releases.full b/8/jdk/ubuntu/jammy/Dockerfile.releases.full index ebc11cbac..4d4428e59 100644 --- a/8/jdk/ubuntu/jammy/Dockerfile.releases.full +++ b/8/jdk/ubuntu/jammy/Dockerfile.releases.full @@ -79,5 +79,5 @@ RUN echo Verifying install ... \ && echo javac -version && javac -version \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jdk/ubuntu/jammy/entrypoint.sh b/8/jdk/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jdk/ubuntu/jammy/entrypoint.sh +++ b/8/jdk/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jre/alpine/Dockerfile.releases.full b/8/jre/alpine/Dockerfile.releases.full index 5a53871b9..f7d4bc4c2 100644 --- a/8/jre/alpine/Dockerfile.releases.full +++ b/8/jre/alpine/Dockerfile.releases.full @@ -27,7 +27,8 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' # fontconfig and ttf-dejavu added to support serverside image generation by Java programs # java-cacerts added to support adding CA certificates to the Java keystore -RUN apk add --no-cache fontconfig java-cacerts libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ +# bash is required for the entrypoint script (s. https://github.com/adoptium/containers/issues/415) +RUN apk add --no-cache fontconfig java-cacerts bash libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib \ && rm -rf /var/cache/apk/* ENV JAVA_VERSION jdk8u382-b05 @@ -58,5 +59,5 @@ RUN set -eux; \ RUN echo Verifying install ... \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jre/alpine/entrypoint.sh b/8/jre/alpine/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jre/alpine/entrypoint.sh +++ b/8/jre/alpine/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jre/centos/Dockerfile.releases.full b/8/jre/centos/Dockerfile.releases.full index 63aafc038..634990b92 100644 --- a/8/jre/centos/Dockerfile.releases.full +++ b/8/jre/centos/Dockerfile.releases.full @@ -64,5 +64,5 @@ RUN set -eux; \ RUN echo Verifying install ... \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jre/centos/entrypoint.sh b/8/jre/centos/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/8/jre/centos/entrypoint.sh +++ b/8/jre/centos/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/8/jre/ubi/ubi9-minimal/Dockerfile.releases.full index 1b28d898a..beee3ff92 100644 --- a/8/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/8/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -64,5 +64,5 @@ RUN set -eux; \ RUN echo Verifying install ... \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jre/ubi/ubi9-minimal/entrypoint.sh b/8/jre/ubi/ubi9-minimal/entrypoint.sh index f2f6b5ffc..4d352111b 100755 --- a/8/jre/ubi/ubi9-minimal/entrypoint.sh +++ b/8/jre/ubi/ubi9-minimal/entrypoint.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jre/ubuntu/focal/Dockerfile.releases.full b/8/jre/ubuntu/focal/Dockerfile.releases.full index 13f33a2e2..ddd2ada51 100644 --- a/8/jre/ubuntu/focal/Dockerfile.releases.full +++ b/8/jre/ubuntu/focal/Dockerfile.releases.full @@ -78,5 +78,5 @@ RUN set -eux; \ RUN echo Verifying install ... \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jre/ubuntu/focal/entrypoint.sh b/8/jre/ubuntu/focal/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jre/ubuntu/focal/entrypoint.sh +++ b/8/jre/ubuntu/focal/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e diff --git a/8/jre/ubuntu/jammy/Dockerfile.releases.full b/8/jre/ubuntu/jammy/Dockerfile.releases.full index ed1009277..5968190e1 100644 --- a/8/jre/ubuntu/jammy/Dockerfile.releases.full +++ b/8/jre/ubuntu/jammy/Dockerfile.releases.full @@ -78,5 +78,5 @@ RUN set -eux; \ RUN echo Verifying install ... \ && echo java -version && java -version \ && echo Complete. -COPY entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] +COPY entrypoint.sh /__cacert_entrypoint.sh +ENTRYPOINT ["/__cacert_entrypoint.sh"] diff --git a/8/jre/ubuntu/jammy/entrypoint.sh b/8/jre/ubuntu/jammy/entrypoint.sh index 15bf4330d..dfcf546f9 100755 --- a/8/jre/ubuntu/jammy/entrypoint.sh +++ b/8/jre/ubuntu/jammy/entrypoint.sh @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash +# Sheband needs to be `bash`, see https://github.com/adoptium/containers/issues/415 for details set -e