Skip to content

Commit b5ea2f8

Browse files
authored
feat: ugprade to Java 11 (#9)
1 parent 020db87 commit b5ea2f8

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM beevelop/base
22

33
RUN apt-get update && \
4-
apt-get -y install openjdk-8-jdk-headless && \
4+
apt-get -y install openjdk-11-jdk-headless && \
55
apt-get clean && \
66
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
77
java -version
88

9-
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
9+
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2015-2022 Maik Hummel
3+
Copyright (c) 2015-2023 Maik Hummel
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/beevelop/docker-java/Docker%20Image?style=for-the-badge)
1+
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/beevelop/docker-java/docker.yml?style=for-the-badge)
22
![Docker Pulls](https://img.shields.io/docker/pulls/beevelop/java.svg?style=for-the-badge)
33
![Docker Stars](https://img.shields.io/docker/stars/beevelop/java?style=for-the-badge)
44
![Docker Image Size (tag)](https://img.shields.io/docker/image-size/beevelop/java/latest?style=for-the-badge)
@@ -10,21 +10,25 @@
1010

1111
![beevelop/java](/icon.png?raw=true)
1212

13-
# Java / OpenJDK 1.8.0
13+
# Java / OpenJDK 11.0
14+
15+
> ⚠️ 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.
1416
1517
### Pull, build or run this image
18+
1619
```bash
1720
# pull the most recent tag / release
18-
docker pull beevelop/java:v2022.06.1
21+
docker pull beevelop/java:v2023.01.1
1922

2023
# or run the image interactively
21-
docker run --rm --name beevelop -it beevelop/java:v2022.06.1 bash
24+
docker run --rm --name beevelop -it beevelop/java:v2023.01.1 bash
2225

2326
# or build the image from GitHub
2427
docker build -t beevelop/java github.com/beevelop/docker-base
2528
```
2629

2730
### Or use as base image
31+
2832
```Dockerfile
2933
FROM beevelop/java:v2022.06.1
3034
```

0 commit comments

Comments
 (0)