From fc37d46339ccf30cc2892d96fbc638df830460b7 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 1 Apr 2024 10:56:17 +0200 Subject: [PATCH] Update devcontainer to jdk17 Signed-off-by: Andy Scherzinger --- .devcontainer/Dockerfile | 2 +- .devcontainer/README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6e6696167..b6f52d89c 100644 --- a/.devcontainer/Dockerfile +++ b/.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 diff --git a/.devcontainer/README.md b/.devcontainer/README.md index 0f6e06281..baec40742 100644 --- a/.devcontainer/README.md +++ b/.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`.