https://github.com/docker-hub-frolvlad/docker-alpine-openjdk7
The smallest Docker image with OpenJDK 7 (144MB)
https://github.com/docker-hub-frolvlad/docker-alpine-openjdk7
alpine docker-image java openjdk
Last synced: 3 months ago
JSON representation
The smallest Docker image with OpenJDK 7 (144MB)
- Host: GitHub
- URL: https://github.com/docker-hub-frolvlad/docker-alpine-openjdk7
- Owner: Docker-Hub-frolvlad
- License: mit
- Created: 2015-04-14T12:25:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T14:43:54.000Z (about 4 years ago)
- Last Synced: 2025-03-24T14:44:32.841Z (4 months ago)
- Topics: alpine, docker-image, java, openjdk
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/frolvlad/alpine-openjdk7/
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/frolvlad/alpine-openjdk7/)
[](https://hub.docker.com/r/frolvlad/alpine-openjdk7/)OpenJDK 7 Docker image
=======================This image is based on Alpine Linux image, which is only a 5MB image, and contains
[OpenJDK 7](http://openjdk.java.net/).Download size of this image is only:
[](http://microbadger.com/images/frolvlad/alpine-openjdk7 "Get your own image badge on microbadger.com")
Usage Example
-------------```bash
$ echo -e 'public class Main { public static void main(String[] args) { System.out.println("Hello World"); } }' > Main.java
$ docker run --rm -v `pwd`:/tmp --workdir /tmp frolvlad/alpine-openjdk7 sh -c '/usr/lib/jvm/default-jvm/bin/javac Main.java && java Main'
```Once you have run this command you will get printed 'Hello World' from Java!