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

Images should be rebulid / re-release periodically #7

Open
m4rc77 opened this issue Mar 18, 2021 · 2 comments
Open

Images should be rebulid / re-release periodically #7

m4rc77 opened this issue Mar 18, 2021 · 2 comments

Comments

@m4rc77
Copy link

m4rc77 commented Mar 18, 2021

The fabric8/java-centos-openjdk8-jre:latest is 5 Months old (today 18th of March 2021), the fabric8/java-alpine-openjdk8-jdk:latest image is one year old (today 18th of March 2021). In order to have the latest security updates from centos/alpine/... installed the images should be re-built periodically and new versions should be tagged in order to have stable "releases".

As a Workaround all images inheriting from fabric8/java-centos-openjdk8... base-images should perform a

# ensure that all base-image-dependencies are brought to the newest versions
RUN yum update -y

as a first step in the Dockerfile.

@manusa
Copy link

manusa commented Mar 22, 2021

Hi @m4rc77,

Where are you using these images?

If I'm not mistaken, the main purpose of the fabric8io-images was to provide base images for Fabric8 Maven Plugin (FMP) which has now been deprecated in favor of Eclipse JKube.

Are you still using FMP? are you using the base images for something else? Is it feasable for you to switch to the new JKube base images?

@m4rc77
Copy link
Author

m4rc77 commented Mar 27, 2021

Hi @manusa

Thanks for you hint.

The fabric8/java-centos-openjdk8-jre images were/are popular to run Java 8 fat-jar Java applications (e.g. SpringBoot based applications). I guess there are still a lot of them out in the wild running on container platforms.

In our case we either use the mentioned workaround with the yum update -y or switch to the UBI Java8 Image from RedHat (Image: registry.access.redhat.com/ubi8/openjdk-8:latest, Details see https://catalog.redhat.com/software/containers/ubi8/openjdk-8/5dd6a48dbed8bd164a09589a)

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

2 participants