Merge pull request #3790 from nextcloud/chore/noid/decContainerJdk17

Update devcontainer to jdk17
This commit is contained in:
Andy Scherzinger 2024-04-01 12:18:02 +02:00 committed by GitHub
commit fab0c48cc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk ENV ANDROID_HOME=/usr/lib/android-sdk
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install -y unzip wget openjdk-11-jdk vim RUN apt-get install -y unzip wget openjdk-17-jdk vim
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
RUN cd /tmp && unzip commandlinetools.zip RUN cd /tmp && unzip commandlinetools.zip

View File

@ -4,6 +4,6 @@
--> -->
# Instructions # Instructions
1. Start a DevContainer either on GitHub Codespaces or locally in VSCode 1. Start a DevContainer either on GitHub Codespaces or locally in VSCode.
2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses` 2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses`.
3. You can now build the app using `./gradlew clean build` 3. You can now build the app using `./gradlew clean build`.