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

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
(cherry picked from commit f6b1d36)
  • Loading branch information
GoodforGod committed May 3, 2018
1 parent eb4648a commit a98316e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker Debian Oracle Server JRE 10
Docker Debian Slim image with cleaned Oracle Server JRE 10 Update 1 (239MB for stretch)
Docker Debian Slim image with cleaned Oracle Server JRE 10 Update 1 (239MB stretch)

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.

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

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

There are two base images:
There such tags:

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

Image size with Server JRE (254MB)

#### Stretch
Uses base image [Debian Stretch Slim](https://hub.docker.com/_/debian/) (55.3MB)

Image size with Server JRE (239MB)
#### *stretch*
* Uses base image [Debian Stretch Slim](https://hub.docker.com/_/debian/) *(55.3MB)*
* Image size with Server JRE *(239MB)*

## Usage
Image have docker *USER* named **app** so you can use it for your application.
Expand Down
3 changes: 3 additions & 0 deletions example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ VOLUME /tmp/logs

USER app

# Just execute 'run.sh' to build and run container
# Then go to 'http://localhost:8080'

ENTRYPOINT ["java", "-jar", "/helloworld-1.0.0.jar"]

0 comments on commit a98316e

Please sign in to comment.