From d5752ad29249acd4787f8c4797f3cd50961776c2 Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 12 Nov 2019 17:51:00 +0100 Subject: [PATCH] Adds gradle 5.6.3 --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index 94e60cc..f71e25d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,16 @@ RUN apt-get install -y curl \ && apt-get install -y nodejs \ && curl -L https://www.npmjs.com/install.sh | sh +# Download and install Gradle +RUN \ + cd /usr/local && \ + curl -L https://services.gradle.org/distributions/gradle-5.6.3-bin.zip -o gradle-5.6.3-bin.zip && \ + unzip gradle-5.6.3-bin.zip && \ + rm gradle-5.6.3-bin.zip + +# Export some environment variables +ENV GRADLE_HOME=/usr/local/gradle-5.6.3 +ENV PATH=$PATH:$GRADLE_HOME/bin + # install Firebase CLI RUN npm install -g firebase-tools \ No newline at end of file