Skip to content

Commit

Permalink
add workaround for FISH-7665: Payara doesn't run #8305
Browse files Browse the repository at this point in the history
See payara/Payara#6344

Bug Report: Payara doesn't run on latest JDK patch levels / FISH-7665
  • Loading branch information
pdurbin committed Jul 26, 2023
1 parent 2da77d3 commit da5193f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/container-base/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ WORKDIR /
SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
# Mark these directories as mutuable data containers to avoid cluttering the images overlayfs at runtime.
VOLUME ${STORAGE_DIR} ${SECRETS_DIR} ${DUMPS_DIR}
# Workaround for https://github.com/payara/Payara/issues/6344
ENV JAVA_TOOL_OPTIONS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true --add-opens=java.base/java.io=ALL-UNNAMED"
RUN <<EOF
# Create pathes
mkdir -p "${HOME_DIR}" "${PAYARA_DIR}" "${DEPLOY_DIR}" "${CONFIG_DIR}" "${SCRIPT_DIR}"
Expand Down

0 comments on commit da5193f

Please sign in to comment.