Skip to content

Commit

Permalink
Downgrade openjdk11 to jre-11.0.9.1_1-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 26, 2021
1 parent 8eabcc3 commit 0e0e78c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Setup Docker
# taken from https://github.com/docker/github-actions/blob/0f18e2abad9a4ac2963d2516246787375b5ec917/Dockerfile#L32
run: curl -fL https://download.docker.com/linux/static/stable/x86_64/docker-19.03.8.tgz | tar xzO docker/docker > docker && sudo mv -f docker /usr/bin/docker && sudo chmod +x /usr/bin/docker
run: curl -fL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.4.tgz | tar xzO docker/docker > docker && sudo mv -f docker /usr/bin/docker && sudo chmod +x /usr/bin/docker

- name: Build container images
run: make buildDockerImages
Expand Down
7 changes: 6 additions & 1 deletion server/ops/docker/jdk11-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# /!\ WARNING /!\
# Do not upgrade to "adoptopenjdk/openjdk11:jre-11.0.10_9-alpine"
# This version is based on alpine 3.13.2 and will cause a SegFault!
# https://github.com/AdoptOpenJDK/openjdk-docker/issues/520

# based on alpine 3.12
FROM adoptopenjdk/openjdk11:jre-11.0.10_9-alpine
FROM adoptopenjdk/openjdk11:jre-11.0.9.1_1-alpine

COPY --from=kroki-builder-static-svgbob:latest /home/rust/.cargo/bin/svgbob /rust/bin/svgbob
COPY --from=kroki-builder-static-erd:latest /root/.local/bin/erd /haskell/bin/erd
Expand Down

0 comments on commit 0e0e78c

Please sign in to comment.