Build Docker image with openjdk8

pull/332/head
Andrew Gaul 2020-08-21 10:23:53 +09:00
rodzic ec0f56a5b4
commit d6a735c256
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
# Multistage - Builder
FROM maven:3.5.0-jdk-7-alpine as s3proxy-builder
FROM maven:3.5.0-jdk-8-alpine as s3proxy-builder
LABEL maintainer="Andrew Gaul <andrew@gaul.org>"
WORKDIR /opt/s3proxy
@ -8,7 +8,7 @@ COPY . /opt/s3proxy/
RUN mvn package -DskipTests
# Multistage - Image
FROM openjdk:7-jre-alpine
FROM openjdk:8-jre-alpine
LABEL maintainer="Andrew Gaul <andrew@gaul.org>"
WORKDIR /opt/s3proxy