-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extra image temp fix for py3.12 lz4, more temurin attemps
- Loading branch information
1 parent
2579d40
commit 213fa70
Showing
5 changed files
with
39 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
ARG BASE_IMAGE | ||
FROM ${BASE_IMAGE} | ||
|
||
ARG JAVA | ||
ARG JAVA=17 | ||
|
||
# https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux | ||
RUN <<EOT | ||
set -e | ||
export DEBIAN_FRONTEND="noninteractive" | ||
if [ -n "$JAVA" ]; then | ||
apt-get update | ||
apt-get install --no-install-recommends -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 --no-install-recommends -y "bellsoft-java${JAVA}" | ||
rm -rf /var/lib/apt/lists/* | ||
else | ||
exit 1 | ||
fi | ||
|
||
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}" | ||
rm -rf /var/lib/apt/lists/* | ||
EOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
ARG BASE_IMAGE | ||
FROM ${BASE_IMAGE} | ||
|
||
ARG JAVA | ||
ARG JAVA=17 | ||
|
||
# https://docs.azul.com/core/install/debian#install-from-azul-apt-repository | ||
RUN <<EOT | ||
set -e | ||
export DEBIAN_FRONTEND="noninteractive" | ||
if [ -n "$JAVA" ]; then | ||
apt-get update | ||
apt-get install --no-install-recommends -y gnupg ca-certificates curl | ||
curl -so- https://repos.azul.com/azul-repo.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/azul.gpg | ||
echo "deb https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list | ||
apt-get update | ||
apt-get install --no-install-recommends -y "zulu${JAVA}-jdk" | ||
rm -rf /var/lib/apt/lists/* | ||
else | ||
exit 1 | ||
fi | ||
|
||
apt-get update | ||
apt-get install -y gnupg ca-certificates curl | ||
curl -so- https://repos.azul.com/azul-repo.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/azul.gpg | ||
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" | ||
rm -rf /var/lib/apt/lists/* | ||
EOT |