Skip to content

Commit

Permalink
Upgrade to Debian 12 + JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
naku committed Nov 20, 2023
1 parent b62af12 commit 02477ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
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/*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## About
Dockerfile for Debian + AdoptOpenJDK
Dockerfile for Debian + OpenJDK

0 comments on commit 02477ce

Please sign in to comment.