Skip to content

Commit

Permalink
feat: add gradle to builder dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-sen authored and rpignolet committed Jun 30, 2023
1 parent 0006e50 commit 6e340b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build-env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ RUN apt-get -q update \
shellcheck \
software-properties-common \
sudo \
unzip \
valgrind \
wget \
zlib1g-dev \
Expand Down Expand Up @@ -261,5 +262,15 @@ RUN curl -L -o hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.58
&& dpkg --install hugo.deb \
&& rm hugo.deb

# Install gradle 8.1.1
RUN mkdir -p /opt/gradle \
&& curl -L https://services.gradle.org/distributions/gradle-8.1.1-bin.zip -o gradle-8.1.1-bin.zip \
&& unzip gradle-8.1.1-bin.zip \
&& mv gradle-8.1.1 /opt/gradle \
&& rm gradle-8.1.1-bin.zip

ENV GRADLE_HOME=/opt/gradle/gradle-8.1.1
ENV PATH=$PATH:$GRADLE_HOME/bin

COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

0 comments on commit 6e340b7

Please sign in to comment.