Explorar o código

Update devcontainer to jdk17

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger hai 1 ano
pai
achega
fc37d46339
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 1 1
      .devcontainer/Dockerfile
  2. 3 3
      .devcontainer/README.md

+ 1 - 1
.devcontainer/Dockerfile

@@ -4,7 +4,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 ENV ANDROID_HOME=/usr/lib/android-sdk
 
 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 cd /tmp && unzip commandlinetools.zip

+ 3 - 3
.devcontainer/README.md

@@ -4,6 +4,6 @@
 -->
 # Instructions
 
-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`
-3. You can now build the app using `./gradlew clean build`
+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`.
+3. You can now build the app using `./gradlew clean build`.