Skip to content

Commit

Permalink
Remove the pin to a specific java version below 8. (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Feb 19, 2020
1 parent b2dfb95 commit ed1ca01
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions docker/Dockerfile
Expand Up @@ -78,13 +78,6 @@ RUN { \
RUN ln -svT "/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)" /docker-java-home
ENV JAVA_HOME /docker-java-home

ENV JAVA_VERSION 8u181
ENV JAVA_DEBIAN_VERSION 8u181-b13-2~deb9u1

# see https://bugs.debian.org/775775
# and https://github.com/docker-library/java/issues/19#issuecomment-70546872
ENV CA_CERTIFICATES_JAVA_VERSION 20170531+nmu1

RUN set -ex; \
\
# deal with slim variants not having man page directories (which causes "update-alternatives" to fail)
Expand All @@ -94,8 +87,8 @@ RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
openjdk-8-jdk="$JAVA_DEBIAN_VERSION" \
ca-certificates-java="$CA_CERTIFICATES_JAVA_VERSION" \
openjdk-8-jdk \
ca-certificates-java \
; \
rm -rf /var/lib/apt/lists/*; \
\
Expand Down

0 comments on commit ed1ca01

Please sign in to comment.