Skip to content

Commit

Permalink
feat: ugprade to Java 11 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
beevelop authored Jan 4, 2023
1 parent 020db87 commit b5ea2f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
```
Expand Down

0 comments on commit b5ea2f8

Please sign in to comment.