Skip to content

Commit

Permalink
Use gradle:6.8-jdk11 as builder image
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremie-lesage committed May 10, 2021
1 parent 23db1fa commit 6eabead
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/jbake-dist
/dist
.gradle
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk11:alpine as builder
FROM gradle:6.8-jdk11 as builder

LABEL maintainer="https://jbake.org/community/team.html"

Expand All @@ -10,7 +10,7 @@ COPY . /usr/src/jbake
RUN set -o errexit -o nounset \
&& echo "Building JBake" \
&& cd /usr/src/jbake \
&& ./gradlew installDist \
&& gradle --no-daemon installDist \
&& cp -r jbake-dist/build/install/jbake/* $JBAKE_HOME \
&& rm -r ~/.gradle /usr/src/jbake

Expand Down

0 comments on commit 6eabead

Please sign in to comment.