Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit a98316e

Browse files
committed
README improvements
(cherry picked from commit f6b1d36)
1 parent eb4648a commit a98316e

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Docker Debian Oracle Server JRE 10
2-
Docker Debian Slim image with cleaned Oracle Server JRE 10 Update 1 (239MB for stretch)
2+
Docker Debian Slim image with cleaned Oracle Server JRE 10 Update 1 (239MB stretch)
33

44
You must accept the [Oracle Binary Code License Agreement for Java SE](http://www.oracle.com/technetwork/java/javase/terms/license/index.html) to use this image.
55

@@ -10,17 +10,15 @@ So image have all *JVM* parts to run *Java applications* in Docker containers.
1010

1111
Image contains only Java Runtime Environment, so you must have compiled Java application.
1212

13-
There are two base images:
13+
There such tags:
1414

15-
#### Latest
16-
Uses base image [Debian Sid Slim](https://hub.docker.com/_/debian/) (63.3MB)
15+
#### *latest*
16+
* Uses base image [Debian Sid Slim](https://hub.docker.com/_/debian/) *(63.3MB)*
17+
* Image size with Server JRE *(254MB)*
1718

18-
Image size with Server JRE (254MB)
19-
20-
#### Stretch
21-
Uses base image [Debian Stretch Slim](https://hub.docker.com/_/debian/) (55.3MB)
22-
23-
Image size with Server JRE (239MB)
19+
#### *stretch*
20+
* Uses base image [Debian Stretch Slim](https://hub.docker.com/_/debian/) *(55.3MB)*
21+
* Image size with Server JRE *(239MB)*
2422

2523
## Usage
2624
Image have docker *USER* named **app** so you can use it for your application.

example/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ VOLUME /tmp/logs
55

66
USER app
77

8+
# Just execute 'run.sh' to build and run container
9+
# Then go to 'http://localhost:8080'
10+
811
ENTRYPOINT ["java", "-jar", "/helloworld-1.0.0.jar"]

0 commit comments

Comments
 (0)