-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenJDK: Switch to zulu dist + automate install using PPA + Drop JDK …
…14 support
- Loading branch information
Showing
28 changed files
with
132 additions
and
701 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 |
---|---|---|
|
@@ -10,7 +10,17 @@ | |
FROM exoplatform/ubuntu:18.04 | ||
LABEL maintainer="eXo Platform <[email protected]>" | ||
|
||
# Install OpenJdk Java 11 SDK | ||
RUN apt-get update && apt-get -y install openjdk-11-jdk-headless && rm -rf /var/lib/apt | ||
ENV JDK_MAJOR_VERSION 11 | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] | ||
# Install OpenJDK Java 11 SDK | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install gnupg ca-certificates curl | ||
RUN curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg | ||
RUN 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 | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install zulu${JDK_MAJOR_VERSION}-jdk | ||
RUN apt-get -qq -y autoremove && \ | ||
apt-get -qq -y clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,7 +10,17 @@ | |
FROM exoplatform/ubuntu:20.04 | ||
LABEL maintainer="eXo Platform <[email protected]>" | ||
|
||
# Install OpenJdk Java 11 SDK | ||
RUN apt-get update && apt-get -y install openjdk-11-jdk-headless && rm -rf /var/lib/apt | ||
ENV JDK_MAJOR_VERSION 11 | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] | ||
# Install OpenJDK Java 11 SDK | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install gnupg ca-certificates curl | ||
RUN curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg | ||
RUN 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 | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install zulu${JDK_MAJOR_VERSION}-jdk | ||
RUN apt-get -qq -y autoremove && \ | ||
apt-get -qq -y clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,7 +10,17 @@ | |
FROM exoplatform/ubuntu:22.04 | ||
LABEL maintainer="eXo Platform <[email protected]>" | ||
|
||
# Install OpenJdk Java 11 SDK | ||
RUN apt-get update && apt-get -y install openjdk-11-jdk-headless && rm -rf /var/lib/apt | ||
ENV JDK_MAJOR_VERSION 11 | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] | ||
# Install OpenJDK Java 11 SDK | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install gnupg ca-certificates curl | ||
RUN curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg | ||
RUN 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 | ||
RUN apt-get -qq update && \ | ||
apt-get -qq -y install zulu${JDK_MAJOR_VERSION}-jdk | ||
RUN apt-get -qq -y autoremove && \ | ||
apt-get -qq -y clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/usr/bin/java"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.