Skip to content

Commit

Permalink
Android 14 - SDK 34
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinrob committed Aug 7, 2023
1 parent dc09a6b commit 9e06a6d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.10
FROM ubuntu:23.10
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update && \
apt-get install -qqy --no-install-recommends \
Expand All @@ -23,8 +23,8 @@ RUN mkdir -p /root/.android
RUN touch /root/.android/repositories.cfg
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "tools"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager --update
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "build-tools;33.0.2"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "platforms;android-33"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "build-tools;34.0.0"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "platforms;android-34"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "platform-tools"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "extras;android;m2repository"
RUN /sdk/cmdline-tools/tools/bin/sdkmanager "extras;google;google_play_services"
Expand Down Expand Up @@ -60,13 +60,13 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.c
apt-get update -y && apt-get install google-cloud-sdk unzip -y

RUN mkdir /opt/gradle
RUN curl "https://services.gradle.org/distributions/gradle-8.0.2-bin.zip" -L --output /root/gradle.zip && \
RUN curl "https://services.gradle.org/distributions/gradle-8.2.1-bin.zip" -L --output /root/gradle.zip && \
unzip -d /opt/gradle /root/gradle.zip && \
ls /opt/gradle

ADD settings.gradle /
RUN /opt/gradle/gradle-8.0.2/bin/gradle wrapper --gradle-version=8.0.2
RUN /opt/gradle/gradle-8.2.1/bin/gradle wrapper --gradle-version=8.2.1
RUN ./gradlew --version
RUN chown -R jenkins:jenkins /root/.gradle && rm -rf /root/.gradle/daemon/8.0.2/*.lock
ENV PATH "$PATH:/opt/gradle/gradle-8.0.2/bin"
RUN chown -R jenkins:jenkins /root/.gradle && rm -rf /root/.gradle/daemon/8.2.1/*.lock
ENV PATH "$PATH:/opt/gradle/gradle-8.2.1/bin"
ENV GRADLE_USER_HOME "/root/.gradle"

0 comments on commit 9e06a6d

Please sign in to comment.