Skip to content

Conversation

MarkEWaite
Copy link
Contributor

Use JDK 8u332, not JDK 8u322

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@MarkEWaite MarkEWaite requested a review from a team as a code owner May 7, 2022 01:25
Comment on lines 23 to +26
# FIXME(oleg_nenashev): This is not an official AdoptOpenJDK Docker Image.
# There is no official Alpine images at the moment.
# Needs upgrade when/if there is an official alpine image.
FROM adoptopenjdk/openjdk8:x86_64-alpine-jdk8u322-b06
FROM adoptopenjdk/openjdk8:x86_64-alpine-jdk8u332-b09
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# FIXME(oleg_nenashev): This is not an official AdoptOpenJDK Docker Image.
# There is no official Alpine images at the moment.
# Needs upgrade when/if there is an official alpine image.
FROM adoptopenjdk/openjdk8:x86_64-alpine-jdk8u322-b06
FROM adoptopenjdk/openjdk8:x86_64-alpine-jdk8u332-b09
FROM eclipse-temurin:8u332-b09-jre-alpine

There is (now) an official temurin alpine distribution (only Intel though, but @gounthar is on the case for ARM support in the future ;) )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not been able to make the tests pass with the change from the adoptopenjdk to the eclipse-temurin image. I had tried it previously without success and decided that it would be better to leave it for another pull request.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem. Then let's proceed to merging this PR: I've opened #119 as a draft for the switch to temurin then

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! We are using this JDK8 version on the Jenkins infra since 1 week and no issues.

Side note: Alpine is now provided on official Temurin distribution (both JDK download and Docker image): suggestion made to use it for JDK8 alpine of this image

@MarkEWaite MarkEWaite merged commit fa190be into jenkinsci:master May 11, 2022
@MarkEWaite MarkEWaite deleted the use-jdk8u332 branch May 11, 2022 15:41
dduportal added a commit to dduportal/docker-ssh-slave that referenced this pull request May 11, 2022
- Removing leftover comments from jenkinsci#118
- Alpine Linux's `apk update` command is not needed as it's called as part of `apt add` when using `--no-cache` or `--update` flags
timja pushed a commit that referenced this pull request May 15, 2022
- Removing leftover comments from #118
- Alpine Linux's `apk update` command is not needed as it's called as part of `apt add` when using `--no-cache` or `--update` flags
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