|
1 | 1 | FROM beevelop/base |
2 | 2 |
|
3 | | -ARG BUILD_DATE |
4 | | -ARG BUILD_VERSION |
5 | | -ARG VCS_REF |
6 | | - |
7 | | -LABEL maintainer="Maik Hummel <hi@beevelop.com>" \ |
8 | | - org.label-schema.build-date=$BUILD_DATE \ |
9 | | - org.label-schema.version=$BUILD_VERSION \ |
10 | | - org.label-schema.vcs-ref=$VCS_REF \ |
11 | | - org.label-schema.schema-version="1.0" \ |
12 | | - org.label-schema.vcs-url="https://github.com/beevelop/docker-java.git" \ |
13 | | - org.label-schema.name="beevelop/java" \ |
14 | | - org.label-schema.vendor="Maik Hummel (beevelop)" \ |
15 | | - org.label-schema.description="Simple Java Docker image (used as base image)" \ |
16 | | - org.label-schema.url="https://beevelop.com/" \ |
17 | | - org.label-schema.license="MIT" \ |
18 | | - org.opencontainers.image.title="beevelop/java" \ |
19 | | - org.opencontainers.image.description="Simple Java Docker image (used as base image)" \ |
20 | | - org.opencontainers.image.licenses="MIT" \ |
21 | | - org.opencontainers.image.authors="Maik Hummel (beevelop)" \ |
22 | | - org.opencontainers.image.vendor="Maik Hummel (beevelop)" \ |
23 | | - org.opencontainers.image.url="https://github.com/beevelop/docker-java" \ |
24 | | - org.opencontainers.image.documentation="https://github.com/beevelop/docker-java/blob/master/README.md" \ |
25 | | - org.opencontainers.image.source="https://github.com/beevelop/docker-java.git" |
26 | | - |
27 | | -# required to use add-apt-repository |
28 | 3 | RUN apt-get update && \ |
29 | | - apt-get -y install default-jre-headless && \ |
| 4 | + apt-get -y install openjdk-8-jdk-headless && \ |
30 | 5 | apt-get clean && \ |
31 | 6 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ |
32 | 7 | java -version |
33 | 8 |
|
34 | | -ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 |
| 9 | +ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 |
0 commit comments