Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed May 21, 2024
1 parent 5db00c2 commit d228ee9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Dockerfile-openjdk-corretto
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ apt-get update
apt-get install -y gnupg ca-certificates curl
curl -so- https://apt.corretto.aws/corretto.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/corretto.gpg
echo "deb https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list

apt-get update
if [ "$JAVA" = "8" ]; then
JAVA="1.8.0"
fi
apt-get install -y "java-${JAVA}-amazon-corretto-jdk"

java -version
javac -version
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 2 additions & 0 deletions src/Dockerfile-openjdk-liberica
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ apt-get update
apt-get install -y gnupg ca-certificates curl
curl -so- https://download.bell-sw.com/pki/GPG-KEY-bellsoft | gpg --dearmor -o /etc/apt/trusted.gpg.d/bellsoft.gpg
echo "deb https://apt.bell-sw.com/ stable main" | tee /etc/apt/sources.list.d/bellsoft.list

apt-get update
apt-get install -y "bellsoft-java${JAVA}"

java -version
javac -version
rm -rf /var/lib/apt/lists/*
Expand Down
1 change: 1 addition & 0 deletions src/Dockerfile-openjdk-zulu
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ curl -so- https://repos.azul.com/azul-repo.key | gpg --dearmor -o /etc/apt/trust
echo "deb https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list
apt-get update
apt-get install -y "zulu${JAVA}-jdk"

java -version
javac -version
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit d228ee9

Please sign in to comment.