mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Introduce a separate global gradle distrib in compose-web Docker image
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user