Find file History
Pull request Compare This branch is 121 commits ahead, 6 commits behind AdoptOpenJDK:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
JDK-EAP-TestOutreach
OpenJDK-baseimage
OpenJDK9
.gitignore
README.md

README.md

Build OpenJDK 9

#####Timeline: first attempt

Downloading the Dockerfile
$ git clone git@github.com:AdoptOpenJDK/BuildHelpers.git
$ git checkout 1ae5fa44b617ebc2077c34004525506c20950606

or

$ wget https://github.com/neomatrix369/BuildHelpers/blob/1ae5fa44b617ebc2077c34004525506c20950606/Docker/OpenJDK9/Dockerfile
Building the image using Dockerfile
$ docker build -t [newname]/[reponame] .
Running the image
$ docker sudo docker run -it [newname]/[reponame] /bin/bash

or

$ docker sudo docker run -it [newname]/[reponame] java --version

[newname] - a name to identify the image
[reponame] - name of the repo