Skip to content

Commit

Permalink
FIX: Docker SSL URL downloads
Browse files Browse the repository at this point in the history
- added `jdk.crypto.ec` to the custom JRE build in both Dockerfiles.
  • Loading branch information
carlwilson committed Sep 15, 2023
1 parent 1a8c3e6 commit a2e52f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM eclipse-temurin:11 as jre-builder

# Create a custom Java runtime
RUN "$JAVA_HOME/bin/jlink" \
--add-modules java.base,java.logging,java.xml,java.management,java.sql,java.desktop \
--add-modules java.base,java.logging,java.xml,java.management,java.sql,java.desktop,jdk.crypto.ec \
--strip-debug \
--no-man-pages \
--no-header-files \
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FROM eclipse-temurin:11 as jre-builder

# Create a custom Java runtime
RUN "$JAVA_HOME/bin/jlink" \
--add-modules java.base,java.logging,java.xml,java.management,java.sql,java.desktop \
--add-modules java.base,java.logging,java.xml,java.management,java.sql,java.desktop,jdk.crypto.ec \
--strip-debug \
--no-man-pages \
--no-header-files \
Expand All @@ -37,6 +37,10 @@ ENV JAVA_OPTS=$JAVA_OPTS
ARG VERAPDF_REST_VERSION
ENV VERAPDF_REST_VERSION=${VERAPDF_REST_VERSION:-0.2.0-SNAPSHOT}

# RUN apt-get update && apt-get install -y --no-install-recommends \
# ssl-cert \
# ca-certificates-java \
# && rm -rf /var/lib/apt/lists/*
COPY --from=dev-builder /usr/local/bin/dumb-init /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init

Expand Down

0 comments on commit a2e52f5

Please sign in to comment.