From 22a0ceef69716b57aa340bf15a43e99fec0b8330 Mon Sep 17 00:00:00 2001 From: Cyril Mizzi Date: Thu, 8 Aug 2024 18:30:37 +0200 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 915552ae..9ff76d88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,14 @@ FROM node:18-bullseye RUN npm install -g svg2img @bubblewrap/cli -RUN apt update && apt install -y openjdk-11-jre openjdk-11-jdk lib32stdc++6 lib32z1 +RUN set -xe \ + && apt update \ + && apt install -y openjdk-17-jre openjdk-17-jdk lib32stdc++6 lib32z1 \ + && rm -rf /var/lib/apt/lists/* -RUN mkdir -p /root/.bubblewrap && \ - echo '{ "jdkPath": "/usr/lib/jvm/java-11-openjdk-amd64", "androidSdkPath": "" }' > /root/.bubblewrap/config.json +RUN set -xe \ + && mkdir -p /root/.bubblewrap \ + && echo '{ "jdkPath": "/usr/lib/jvm/java-17-openjdk-amd64", "androidSdkPath": "" }' > /root/.bubblewrap/config.json RUN yes | bubblewrap doctor From 066080a2e9b36b939319c46219bd3cba40c85684 Mon Sep 17 00:00:00 2001 From: Cyril Mizzi Date: Mon, 12 Aug 2024 10:23:49 +0200 Subject: [PATCH 2/2] Update README.md --- packages/cli/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/README.md b/packages/cli/README.md index bb28f5f7..1f981a17 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -454,7 +454,7 @@ Information on the signature fingerprints for the application. Use to generate t ## Manually setting up the Environment -### Get the Java Development Kit (JDK) 11. +### Get the Java Development Kit (JDK) 17. The Android Command line tools requires the correct version of the JDK to run. To prevent version conflicts with a JDK version that is already installed, Bubblewrap uses a JDK that can unzipped in a separate folder.