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 openjdk docker to java 8u151 #150

Closed
sauravgarg opened this issue Oct 23, 2017 · 8 comments
Closed

Update openjdk docker to java 8u151 #150

sauravgarg opened this issue Oct 23, 2017 · 8 comments

Comments

@sauravgarg
Copy link

By when can we expect openjdk docker to be updated to java 8u151?

@tianon
Copy link
Member

tianon commented Oct 23, 2017

This has been asked a few times before; see #140 for a semi-recent example.

We consume OpenJDK from the distro packages for several reasons:

# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# For some sample build times, see Debian's buildd logs:
# https://buildd.debian.org/status/logs.php?pkg=openjdk-8

(Build time and complexity of OpenJDK being the main driver.)

Thus, we're beholden to each distribution (Debian, Alpine, and the ojdkbuild project) for platform updates.

@dja-fr
Copy link

dja-fr commented Oct 24, 2017

Hello,

Just for information I opened a ticket on alpine bug tracker's for this subject : https://bugs.alpinelinux.org/issues/8018
I hope they will update the package on 3.6 branch (The last time for u144 they just updated the edge).

@carlossg
Copy link

@tianon given the delay on the alpine side would a 8u151-jdk-alpine-edge tag be acceptable?

I gave it a quick try and seems to work, I can submit the PR

diff --git a/8-jdk/alpine/Dockerfile b/8-jdk/alpine/Dockerfile
index c2a537b..31f032f 100644
--- a/8-jdk/alpine/Dockerfile
+++ b/8-jdk/alpine/Dockerfile
@@ -4,7 +4,7 @@
 # PLEASE DO NOT EDIT IT DIRECTLY.
 #

-FROM alpine:3.6
+FROM alpine:edge

 # A few reasons for installing distribution-provided OpenJDK:
 #
@@ -31,8 +31,8 @@ RUN { \
 ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
 ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin

-ENV JAVA_VERSION 8u131
-ENV JAVA_ALPINE_VERSION 8.131.11-r2
+ENV JAVA_VERSION 8u151
+ENV JAVA_ALPINE_VERSION 8.151.12-r0

 RUN set -x \
        && apk add --no-cache \

@wrporter
Copy link

wrporter commented Dec 1, 2017

@tianon It looks like Alpine just released 3.7 yesterday! Can this get updated now?
https://alpinelinux.org/posts/Alpine-3.7.0-released.html

Which includes 8u151 http://dl-3.alpinelinux.org/alpine/latest-stable/community/x86_64/

@wrporter
Copy link

wrporter commented Dec 1, 2017

There is now a pull request for the docker alpine update docker-library/official-images#3762

@wrporter
Copy link

wrporter commented Dec 1, 2017

There is now an official docker image for alpine 3.7 https://hub.docker.com/_/alpine/

@wrporter
Copy link

wrporter commented Dec 1, 2017

@tianon or anyone else that has merge permission. I submitted a pull request. #155

@tianon
Copy link
Member

tianon commented Jan 3, 2018

Both Debian and Alpine are currently at 8u151. 👍

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

5 participants