Skip to content

Commit

Permalink
Try Amazon Corretto
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Feb 14, 2024
1 parent 791d239 commit 5e0ee62
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/build-native-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e0ee62

Please sign in to comment.