Skip to content

Commit

Permalink
Update for updated OpenJDK base images
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed May 28, 2019
1 parent 8ddcad3 commit 7eae995
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 1,053 deletions.
26 changes: 10 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@ language: bash
services: docker

env:
- VERSION=9.0 VARIANT=jre8-slim
- VERSION=9.0 VARIANT=jre8-alpine
- VERSION=9.0 VARIANT=jre8
- VERSION=9.0 VARIANT=jre11-slim
- VERSION=9.0 VARIANT=jre11
- VERSION=8.5 VARIANT=jre8-slim
- VERSION=8.5 VARIANT=jre8-alpine
- VERSION=8.5 VARIANT=jre8
- VERSION=8.5 VARIANT=jre11-slim
- VERSION=8.5 VARIANT=jre11
- VERSION=7 VARIANT=jre8-slim
- VERSION=7 VARIANT=jre8-alpine
- VERSION=7 VARIANT=jre8
- VERSION=7 VARIANT=jre7-slim
- VERSION=7 VARIANT=jre7-alpine
- VERSION=7 VARIANT=jre7
- VERSION=9.0 VARIANT=jdk8-slim
- VERSION=9.0 VARIANT=jdk8
- VERSION=9.0 VARIANT=jdk11-slim
- VERSION=9.0 VARIANT=jdk11
- VERSION=8.5 VARIANT=jdk8-slim
- VERSION=8.5 VARIANT=jdk8
- VERSION=8.5 VARIANT=jdk11-slim
- VERSION=8.5 VARIANT=jdk11
- VERSION=7 VARIANT=jdk8-slim
- VERSION=7 VARIANT=jdk8

install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
Expand Down
5 changes: 3 additions & 2 deletions 7/jre7-slim/Dockerfile → 7/jdk8-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:7-jre-slim
FROM openjdk:8-jdk-slim

ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
Expand All @@ -17,6 +17,8 @@ ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$TOMCAT_NATIVE_LIBDIR
# and https://github.com/docker-library/tomcat/pull/31
ENV OPENSSL_VERSION 1.1.0j-1~deb9u1
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends openssl; \
currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; \
if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then \
if ! grep -q stretch /etc/apt/sources.list; then \
Expand Down Expand Up @@ -119,7 +121,6 @@ RUN set -eux; \
libapr1-dev \
libssl-dev \
make \
"openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" \
; \
( \
export CATALINA_HOME="$PWD"; \
Expand Down
5 changes: 3 additions & 2 deletions 7/jre8-slim/Dockerfile → 7/jdk8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jre-slim
FROM openjdk:8-jdk

ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
Expand All @@ -17,6 +17,8 @@ ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$TOMCAT_NATIVE_LIBDIR
# and https://github.com/docker-library/tomcat/pull/31
ENV OPENSSL_VERSION 1.1.0j-1~deb9u1
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends openssl; \
currentVersion="$(dpkg-query --show --showformat '${Version}\n' openssl)"; \
if dpkg --compare-versions "$currentVersion" '<<' "$OPENSSL_VERSION"; then \
if ! grep -q stretch /etc/apt/sources.list; then \
Expand Down Expand Up @@ -119,7 +121,6 @@ RUN set -eux; \
libapr1-dev \
libssl-dev \
make \
"openjdk-${JAVA_VERSION%%[.~bu-]*}-jdk=$JAVA_DEBIAN_VERSION" \
; \
( \
export CATALINA_HOME="$PWD"; \
Expand Down
135 changes: 0 additions & 135 deletions 7/jre7-alpine/Dockerfile

This file was deleted.

167 changes: 0 additions & 167 deletions 7/jre7/Dockerfile

This file was deleted.

Loading

0 comments on commit 7eae995

Please sign in to comment.