From 5e0ee624cce9632e48860089d5668b778304f495 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 14 Feb 2024 09:26:08 -0600 Subject: [PATCH] Try Amazon Corretto --- .github/build-native-debian.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/build-native-debian.sh b/.github/build-native-debian.sh index 99140ce1..45676fd3 100755 --- a/.github/build-native-debian.sh +++ b/.github/build-native-debian.sh @@ -9,12 +9,11 @@ apt-get update -y # connect azul repo apt-get install -y gnupg ca-certificates curl -curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg -echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list +wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \ +echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list apt-get update -y - -apt-get install -y zulu8-jdk +apt-get install -y java-1.8.0-amazon-corretto-jdk apt-get install -y --no-install-recommends make gcc libc6-dev texinfo # Needs to be split, otherwise a newer version of OpenJDK is pulled apt-get install -y --no-install-recommends ant