kopia lustrzana https://github.com/gaul/s3proxy
Build Docker image with openjdk8
rodzic
ec0f56a5b4
commit
d6a735c256
|
@ -1,5 +1,5 @@
|
||||||
# Multistage - Builder
|
# 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>"
|
LABEL maintainer="Andrew Gaul <andrew@gaul.org>"
|
||||||
|
|
||||||
WORKDIR /opt/s3proxy
|
WORKDIR /opt/s3proxy
|
||||||
|
@ -8,7 +8,7 @@ COPY . /opt/s3proxy/
|
||||||
RUN mvn package -DskipTests
|
RUN mvn package -DskipTests
|
||||||
|
|
||||||
# Multistage - Image
|
# Multistage - Image
|
||||||
FROM openjdk:7-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
LABEL maintainer="Andrew Gaul <andrew@gaul.org>"
|
LABEL maintainer="Andrew Gaul <andrew@gaul.org>"
|
||||||
|
|
||||||
WORKDIR /opt/s3proxy
|
WORKDIR /opt/s3proxy
|
||||||
|
|
Ładowanie…
Reference in New Issue