-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# | ||
# Dockerfile for Debian + AdoptOpenJDK | ||
# | ||
FROM sismics/debian:11.0.0 | ||
FROM sismics/debian:12.0.0 | ||
MAINTAINER Jean-Marc Tremeaux <[email protected]> | ||
|
||
# Run Debian in non interactive mode | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Download and install JDK | ||
ENV JAVA_HOME /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/ | ||
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/ | ||
ENV JAVA_OPTS "-Duser.timezone=Europe/Paris -Dfile.encoding=UTF-8 -Xmx1024m" | ||
ENV PATH "$JAVA_HOME/bin:$PATH" | ||
RUN apt-get update && \ | ||
apt-get -y install adoptopenjdk-11-hotspot && \ | ||
apt-get -y install openjdk-17-jdk && \ | ||
rm -rf /var/lib/apt/lists/* |
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