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

Update base image as JRE-8 is not maintained #25

Open
martindsouza opened this issue Nov 29, 2020 · 0 comments
Open

Update base image as JRE-8 is not maintained #25

martindsouza opened this issue Nov 29, 2020 · 0 comments
Assignees

Comments

@martindsouza
Copy link
Owner

martindsouza commented Nov 29, 2020

From Lutz Platen

I run a ORDS container using your Dockerfile from the Github for quite a while. A few days ago I updated to ORDS 20.3 and I wondered, that the JRE 8 base container is still used. Today I invest a moment and figured out, that the openjdk:8-jre-alpine container is no longer updated and there is no other suitable jre-alpine container available. It might be a security issue to stay on JRE 8. Debian moved in Buster a while ago from openjdk 8 to openjdk 11 due to security issues - very unusual. My APEX instance is visible in the internet, so I'm a liitlebit concerned.

I tried to run ORDS using a openjdk:11-jre and got it running after a few changes. I see the following Pro&Cons:

  • openjdk:11-jre is still maintained
  • container creation is simple and unchanged
  • the size of the image increases from 230 MB to 500MB (while the base image is only 40 MB bigger - quite surprising)

Obvious change Dockerfile: > FROM openjdk:11-jre

Two changes in scripts/docker-run.sh:

  1. Use standard Shell - line 1: #!/bin/sh
  2. curl already exist and apt does not exist - comment out line 4: #apk add --no-cache curl
@martindsouza martindsouza self-assigned this Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant