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

feature: build local openjdk image #28

Closed
wants to merge 1 commit into from

Conversation

h314to
Copy link
Contributor

@h314to h314to commented Feb 8, 2023

This builds an openjdk base image using the same commands as the upstream, simplified for our use case.

This is a quite simple build, and we don't often need to upgrade openjdk version. Mostly we just upgrade due to issues with the overall base image (ubuntu:20.04). This allow us to respond faster to those issues.

In particular, currently there is an unpatched high vulnerability in openssl for the eclipse-temurin docker image that will cause all our pipelines to fail docker scan. If we use our own openjdk build that will not be an issue because we'll be getting the latest ubuntu 20.04 image that already has this vulnerability patched.

In addition, because this introduces no major changes to how the build process of codacy/base, we can always set BASE_IMAGE_OPENJDK in the makefile to some upstream provider, if we ever need to.

@h314to h314to closed this Feb 8, 2023
@h314to
Copy link
Contributor Author

h314to commented Feb 8, 2023

Closed in favour of another PR that fixes this in a simpler way.

@pedrobpereira pedrobpereira deleted the feature/build-codacy-openjdk branch March 26, 2024 16:14
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

Successfully merging this pull request may close these issues.

2 participants