Skip to content

agileshell/dockerfile-jdk-tomcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages