Update devcontainer to jdk17

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2024-04-01 10:56:17 +02:00
parent 392abce3c7
commit fc37d46339
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
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`.