From e08d014a79a391f8e28b6b50b2b02e06f5ddcbc8 Mon Sep 17 00:00:00 2001 From: Shagen Ogandzhanian Date: Wed, 12 May 2021 08:42:57 +0200 Subject: [PATCH] Introduce GRADLE_HOME env variable to the compose-web Dockerfile --- ci/docker/compose-web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/docker/compose-web/Dockerfile b/ci/docker/compose-web/Dockerfile index e90cfb0a73..f4b595c354 100644 --- a/ci/docker/compose-web/Dockerfile +++ b/ci/docker/compose-web/Dockerfile @@ -23,8 +23,8 @@ RUN unzip -d /usr/local/bin ~/tmp/chromedriver_linux64.zip && rm ~/tmp/chromedri ARG GRADLE_VERSION=6.8.3 RUN wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip -P /tmp RUN unzip -d /opt/gradle /tmp/gradle-${GRADLE_VERSION}-bin.zip -ARG GRADLE_HOME=/opt/gradle/gradle-${GRADLE_VERSION} -ENV PATH=${GRADLE_HOME}/bin:$PATH +ENV GRADLE_HOME=/opt/gradle/gradle-${GRADLE_VERSION} +ENV PATH=$GRADLE_HOME/bin:$PATH ARG CHROME_VERSION="google-chrome-stable" RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -