Change build image to gradle
This commit is contained in:
parent
709e1a5226
commit
0a129b699c
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
FROM openjdk:8-stretch as build
|
FROM gradle:jdk8 as build
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN ./gradlew bootJar
|
RUN gradle bootJar
|
||||||
|
|
||||||
FROM openjdk:8-jre-stretch
|
FROM openjdk:8-jre-stretch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue