File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,14 @@ FROM node:18-bullseye
2
2
3
3
RUN npm install -g svg2img @bubblewrap/cli
4
4
5
- RUN apt update && apt install -y openjdk-11-jre openjdk-11-jdk lib32stdc++6 lib32z1
5
+ RUN set -xe \
6
+ && apt update \
7
+ && apt install -y openjdk-17-jre openjdk-17-jdk lib32stdc++6 lib32z1 \
8
+ && rm -rf /var/lib/apt/lists/*
6
9
7
- RUN mkdir -p /root/.bubblewrap && \
8
- echo '{ "jdkPath": "/usr/lib/jvm/java-11-openjdk-amd64", "androidSdkPath": "" }' > /root/.bubblewrap/config.json
10
+ RUN set -xe \
11
+ && mkdir -p /root/.bubblewrap \
12
+ && echo '{ "jdkPath": "/usr/lib/jvm/java-17-openjdk-amd64", "androidSdkPath": "" }' > /root/.bubblewrap/config.json
9
13
10
14
RUN yes | bubblewrap doctor
11
15
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ Information on the signature fingerprints for the application. Use to generate t
464
464
465
465
## Manually setting up the Environment
466
466
467
- ### Get the Java Development Kit (JDK) 11 .
467
+ ### Get the Java Development Kit (JDK) 17 .
468
468
The Android Command line tools requires the correct version of the JDK to run. To prevent version
469
469
conflicts with a JDK version that is already installed, Bubblewrap uses a JDK that can unzipped in
470
470
a separate folder.
You can’t perform that action at this time.
0 commit comments