Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOLIO-3480: Downgrade zlib in jre container fixing ZipException #214

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions folio-java-docker/openjdk11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ RUN mkdir -p /usr/verticles
ENV JAVA_APP_DIR=/usr/verticles \
JAVA_MAJOR_VERSION=11

RUN apk add --no-cache \
# get zlib=1.2.11-r3 from v3.11
RUN echo 'https://dl-cdn.alpinelinux.org/alpine/v3.11/main' >> /etc/apk/repositories \
&& apk add --no-cache \
curl \
libc6-compat # https://issues.folio.org/browse/FOLIO-3406 for OpenSSL
# https://issues.folio.org/browse/FOLIO-3406 libc6-compat for OpenSSL
libc6-compat \
# https://issues.folio.org/browse/FOLIO-3480 downgrade zlib until 1.2.13 is available
zlib=1.2.11-r3

# Add run script as JAVA_APP_DIR/run-java.sh and make it executable
COPY run-java.sh ${JAVA_APP_DIR}/
Expand Down