Skip to content

Commit

Permalink
Update Dockerfile and entrypoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedigergad committed Oct 27, 2024
1 parent b4b25cb commit bb1918c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11-jdk-bullseye
FROM openjdk:24-jdk-bookworm

ARG VERSION

Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -n "${CUSTOM_ARGS}" ] ;
then
echo "Running with custom args: ${CUSTOM_ARGS}"
echo "Note, this overrides all other settings for the entrypoint."
COMMAND="java -jar bowerick*standalone.jar ${CUSTOM_ARGS}"
COMMAND="java --add-opens java.base/sun.security.tools.keytool=ALL-UNNAMED -jar bowerick*standalone.jar ${CUSTOM_ARGS}"
echo "Running command: ${COMMAND}"
${COMMAND}
exit 0
Expand All @@ -41,7 +41,7 @@ GEN_TYPE=${GEN_TYPE:-custom-fn}
GEN_ARGS=${GEN_ARGS:-./generator.clj}
GEN_INTERVAL=${GEN_INTERVAL:-100}

COMMAND="java -jar bowerick*standalone.jar -d -v"
COMMAND="java --add-opens java.base/sun.security.tools.keytool=ALL-UNNAMED -jar bowerick*standalone.jar -d -v"
if ${BOOTSTRAP_CERTS} ;
then
echo "Enabling certificate bootstrap..."
Expand Down

0 comments on commit bb1918c

Please sign in to comment.