Browse Source

Introduce a separate global gradle distrib in compose-web Docker image

pull/620/head
Shagen Ogandzhanian 4 years ago
parent
commit
d5abe47da6
  1. 9
      ci/docker/compose-web/Dockerfile

9
ci/docker/compose-web/Dockerfile

@ -9,12 +9,19 @@ RUN dpkg --add-architecture i386 && apt-get update -yqq && apt-get install -y \
firefox \
git \
gnupg2 \
openjdk-11-jdk \
python3 \
python-is-python3 \
unzip \
wget
ARG CHROME_VERSION="google-chrome-stable"
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
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 -
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update -yqq && apt-get install -y \

Loading…
Cancel
Save