@ -96,6 +96,7 @@ RUN apt-get update && apt-get install -y cmake && apt-get clean
RUN mkdir /var/local/jenkins
RUN mkdir /var/local/jenkins
RUN apt update && apt upgrade -y
# Java required by Android SDK (using Eclipse Temurin Package)
# Java required by Android SDK (using Eclipse Temurin Package)
RUN apt install -y wget apt-transport-https && \
RUN apt install -y wget apt-transport-https && \
@ -104,6 +105,9 @@ RUN apt install -y wget apt-transport-https && \
echo " deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $( awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main " | tee /etc/apt/sources.list.d/adoptium.list
echo " deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $( awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main " | tee /etc/apt/sources.list.d/adoptium.list
RUN apt update && apt install -y temurin-8-jdk
RUN apt update && apt install -y temurin-8-jdk
RUN apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*
# Install Android SDK
# Install Android SDK
ENV ANDROID_SDK_VERSION 4333796
ENV ANDROID_SDK_VERSION 4333796
RUN mkdir -p /opt/android-sdk && cd /opt/android-sdk && \
RUN mkdir -p /opt/android-sdk && cd /opt/android-sdk && \
@ -117,7 +121,7 @@ RUN yes | $ANDROID_SDK_PATH/tools/bin/sdkmanager --licenses # accept all licens
# Install Android NDK & CMake
# Install Android NDK & CMake
# This is not required but desirable to reduce the time to download and the chance of download failure.
# This is not required but desirable to reduce the time to download and the chance of download failure.
RUN mkdir -p ~/.android && touch ~/.android/repositories.cfg
RUN mkdir -p ~/.android && touch ~/.android/repositories.cfg
RUN $ANDROID_SDK_PATH /tools/bin/sdkmanager 'ndk;25.1.8937393' 'cmake;3.10.2.4988404 '
RUN $ANDROID_SDK_PATH /tools/bin/sdkmanager 'ndk;25.1.8937393' 'cmake;3.18.1 '
# Install gcloud
# Install gcloud
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-407.0.0-linux-x86_64.tar.gz && \
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-407.0.0-linux-x86_64.tar.gz && \