diff --git a/build-env/Dockerfile b/build-env/Dockerfile index 43543de..842aa61 100644 --- a/build-env/Dockerfile +++ b/build-env/Dockerfile @@ -85,6 +85,7 @@ RUN apt-get -q update \ shellcheck \ software-properties-common \ sudo \ + unzip \ valgrind \ wget \ zlib1g-dev \ @@ -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"]