This repository contains a Dockerfile to create a docker container with Java 1.8, Maven 3.1.1 and git
This Dockerfile has been published as a trusted build to the public Docker Registry.
-
Install Docker.
-
Download trusted build from public Docker Registry:
docker pull jamesdbloom/docker-java8-maven
(alternatively, you can build an image from Dockerfile:
docker build -t="jamesdbloom/docker-java8-maven" github.com/jamesdbloom/docker_java8_maven
)
docker run -i -t -name docker-java8-maven -rm jamesdbloom/docker-java8-maven
git clone <your repo url>
docker run -i -t -name docker-java8-maven -rm -v <your git repo directory>:/volume/git jamesdbloom/docker-java8-maven