Java 8 workaround

Java 8 segfaults during install.
Installing OpenJDK 11 first prevents Java 8 from running.
This commit is contained in:
Serge Schneider 2019-06-07 16:45:25 +01:00
parent 0b4d95c4a2
commit 3682a747bd
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash -e
on_chroot << EOF
apt-get install openjdk-11-jre-headless -y --no-install-recommends
#update-binfmts --package openjdk-11 --remove jar /usr/bin/jexec
apt-get purge openjdk-11-jre-headless openjdk-8-jre-headless+ -y
apt-mark auto openjdk-8-jre-headless
EOF