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 c716afe
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/build-native-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ cd "$(dirname "$(dirname "$0")")"
# update for base packages
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
# connect amazon repo
apt-get install -y wget gnupg ca-certificates curl
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 c716afe

Please sign in to comment.