Skip to content

Commit

Permalink
Use gradlew to simplify versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Jul 27, 2020
1 parent 0b6294f commit 11dc159
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARG IMAGE=adoptopenjdk/openjdk11:jre-11.0.7_10-alpine

# Similarly, the GRADLE_IMAGE argument can be overwritten
# but this is generally not needed.
ARG GRADLE_IMAGE=gradle:jdk-alpine
ARG GRADLE_IMAGE=gradle:jdk

#
# Build phase: Use the gradle image for building.
Expand All @@ -27,8 +27,10 @@ RUN mkdir -p ms

COPY build.gradle ms/
COPY src ms/src
COPY gradle ms/gradle
COPY gradlew ms/gradlew
WORKDIR ms
RUN gradle installDist
RUN /bin/bash ./gradlew installDist


#
Expand Down

0 comments on commit 11dc159

Please sign in to comment.