scripts(setup-ubuntu): Remove jdk 8 and 18

Having the LTS JDK 17 seems to be enough.

This shaves away 600 MB from the docker image size.
This commit is contained in:
Fredrik Fornwall 2023-10-05 14:51:49 +02:00
parent f08470e50a
commit 1bbf1e1bc4
2 changed files with 1 additions and 4 deletions

View File

@ -18,7 +18,7 @@ TERMUX_NDK_VERSION=$TERMUX_NDK_VERSION_NUM$TERMUX_NDK_REVISION
# and update SHA256 sums in scripts/setup-android-sdk.sh
# check all packages build and run correctly and bump if needed
: "${TERMUX_JAVA_HOME:=/usr/lib/jvm/java-8-openjdk-amd64}"
: "${TERMUX_JAVA_HOME:=/usr/lib/jvm/java-17-openjdk-amd64}"
export JAVA_HOME=${TERMUX_JAVA_HOME}
if [ "${TERMUX_PACKAGES_OFFLINE-false}" = "true" ]; then

View File

@ -174,9 +174,6 @@ PACKAGES+=" luajit"
# Needed by libduktape
PACKAGES+=" bc"
# Java.
PACKAGES+=" openjdk-8-jdk openjdk-18-jdk"
# needed by ovmf
PACKAGES+=" libarchive-tools"