Skip to content

About

Dockerfile for building a java web image

Resources

Stars

45 stars

Watchers

7 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

dockerfile-jdk-tomcat

A Dockerfile that installs the latest jdk7, tomcat7.

Prerequisite

Get and install Docker!

You should be able to run the docker command line without sudo. Otherwise you will have to make some adjustments.

Usage

Bulid a new image:

$ git clone https://github.com/agileshell/dockerfile-jdk-tomcat.git
$ cd dockerfile-jdk-tomcat
$ sudo docker build -t dockerfile-jdk-tomcat .
# OR
$ sudo docker build -t dockerfile-jdk-tomcat https://github.com/agileshell/dockerfile-jdk-tomcat.git

We can now fire a new container based on this image:

$ sudo docker run -d -p 8090:8080 dockerfile-jdk-tomcat

After few seconds, open http://<host>:8090 to see the welcome page.

About

Dockerfile for building a java web image

Resources

Stars

45 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages