diff --git a/Dockerfile b/Dockerfile index 7872ff5..1ce52e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM beevelop/base RUN apt-get update && \ - apt-get -y install openjdk-8-jdk-headless && \ + apt-get -y install openjdk-11-jdk-headless && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ java -version -ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 +ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64 diff --git a/LICENSE b/LICENSE index 24d8934..d4f770d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ -MIT License +The MIT License (MIT) -Copyright (c) 2015-2022 Maik Hummel +Copyright (c) 2015-2023 Maik Hummel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index bc9a661..a94a2f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beevelop/docker-java/Docker%20Image?style=for-the-badge) +![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/beevelop/docker-java/docker.yml?style=for-the-badge) ![Docker Pulls](https://img.shields.io/docker/pulls/beevelop/java.svg?style=for-the-badge) ![Docker Stars](https://img.shields.io/docker/stars/beevelop/java?style=for-the-badge) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/beevelop/java/latest?style=for-the-badge) @@ -10,21 +10,25 @@ ![beevelop/java](/icon.png?raw=true) -# Java / OpenJDK 1.8.0 +# Java / OpenJDK 11.0 + +> ⚠️ Due to the slowly approaching EOL of Java 8 we are switching to Java 11. Please check your toolchain for compability before upgrading to the v2023.* releases. ### Pull, build or run this image + ```bash # pull the most recent tag / release -docker pull beevelop/java:v2022.06.1 +docker pull beevelop/java:v2023.01.1 # or run the image interactively -docker run --rm --name beevelop -it beevelop/java:v2022.06.1 bash +docker run --rm --name beevelop -it beevelop/java:v2023.01.1 bash # or build the image from GitHub docker build -t beevelop/java github.com/beevelop/docker-base ``` ### Or use as base image + ```Dockerfile FROM beevelop/java:v2022.06.1 ```