Skip to content

Commit 06d4005

Browse files
author
Maik Hummel
committed
Update README
1 parent 07ecb7e commit 06d4005

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

README.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,29 @@
1212

1313
# Java / OpenJDK 1.8.0
1414

15-
### based on Ubuntu 20.04.
15+
### Pull, build or run this image
16+
```bash
17+
# pull the most recent tag / release
18+
docker pull beevelop/java:v2021.06.1
1619

17-
> ⚠ This image formerly used the Oracle Java version. But due the license changes since April 2019, it's not longer feasible to rely on. This image is now using OpenJDK 8.
20+
# or run the image interactively
21+
docker run --rm --name beevelop -it beevelop/java:v2021.06.1 bash
1822

19-
---
20-
21-
### Pull from Docker Hub
22-
23-
```
24-
docker pull beevelop/java:latest
23+
# or build the image from GitHub
24+
docker build -t beevelop/java github.com/beevelop/docker-base
2525
```
2626

27-
### Build from GitHub
28-
29-
```
30-
docker build -t beevelop/java github.com/beevelop/docker-java
27+
### Or use as base image
28+
```Dockerfile
29+
FROM beevelop/java:v2021.06.1
3130
```
3231

33-
### Run image
32+
---
3433

35-
```
36-
docker run -it beevelop/java bash
37-
```
34+
![Beevelop's Docker Image Hierarchy](https://gist.githubusercontent.com/beevelop/b0cddab7209a683c77560d06ff00bc8e/raw/15429ee1d02e2c4dc019b760ca8c7ceff5911b82/hierarchy.png)
3835

39-
### Use as base image
36+
---
4037

41-
```Dockerfile
42-
FROM beevelop/java:latest
43-
```
38+
### Use tags where possible, because...
39+
40+
![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)

0 commit comments

Comments
 (0)