Change build image to gradle

This commit is contained in:
Julius de Jeu 2019-06-10 11:22:36 +02:00
parent 709e1a5226
commit 0a129b699c

View file

@ -1,9 +1,9 @@
FROM openjdk:8-stretch as build
FROM gradle:jdk8 as build
COPY . /app
WORKDIR /app
RUN ./gradlew bootJar
RUN gradle bootJar
FROM openjdk:8-jre-stretch