Skip to content

Commit

Permalink
entrypoint comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Oct 30, 2023
1 parent 0a81411 commit 58fbf5f
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion 11/jdk/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 11/jre/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 17/jdk/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 17/jre/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 21/jdk/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 21/jre/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 8/jdk/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion 8/jre/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down
3 changes: 2 additions & 1 deletion docker_templates/scripts/entrypoint.alpine-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if [ -n "$USE_SYSTEM_CA_CERTS" ]; then
CACERT="$JAVA_HOME/jre/lib/security/cacerts"
fi

# Update CA certificates and extract the trust store
# OpenJDK images used to create a hook for `update-ca-certificates`. Since we are using an entrypoint anyway, we
# might as well just generate the truststore and skip the hooks.
update-ca-certificates

trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$CACERT"
Expand Down

0 comments on commit 58fbf5f

Please sign in to comment.