This repository contains Dockerfile of Ubuntu for Docker's automated build published to the public Docker Hub.
The following extra components and configurations has been applied to the TomEE server in these images to make it production ready:
- Unecessary files(.exe, .bat, etc.) and default applications(like host manager) has been removed to reduce image size
APRsupport, version1.6.3TC Nativesupport, version1.2.17
sgrio/tomee provides several tagged images:
- Java 8
- Java 7
plus_v7_server_jre_7_unlimited: Tomcat EE version7.0.5withOracle Java SE Server Runtime Environment 7andJCEpatchedplus_v7_server_jre_7: Tomcat EE version7.0.5withOracle Java SE Server Runtime Environment 7plus_v7_jdk_7_unlimited: Tomcat EE version7.0.5withOracle Java SE Development Kit 7andJCEpatchedplus_v7_jdk_7: Tomcat EE version7.0.5withOracle Java SE Development Kit 7
- Java 8
- Java 7
plus_v1_server_jre_7_unlimited: Tomcat EE version1.7.5withOracle Java SE Server Runtime Environment 7andJCEpatchedplus_v1_server_jre_7: Tomcat EE version1.7.5withOracle Java SE Server Runtime Environment 7plus_v1_jdk_7_unlimited: Tomcat EE version1.7.5withOracle Java SE Development Kit 7andJCEpatchedplus_v1_jdk_7: Tomcat EE version1.7.5withOracle Java SE Development Kit 7
-
Install Docker.
-
Download automated build from public Docker Hub:
docker pull sgrio/tomee
docker run -d -p 8080:8080 -v /path/to/webapp:/opt/apache-tomee/webapp sgrio/tomee
You can always mount your own volumns to override the default configurations. I assume you know how to do that, right?