Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 4.51 KB

README.md

File metadata and controls

49 lines (35 loc) · 4.51 KB

Simple and production ready TomEE docker images on top of Ubuntu

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
  • APR support, version 1.6.3
  • TC Native support, version 1.2.17

Docker Tags

sgrio/tomee provides several tagged images:

Default (Your best choice)

  • latest: pointed to plus_v7_server_jre_8

TomEE Plus v7 (Current version, not yet JavaEE 7 certificated)

  • Java 8
    • plus_v7_server_jre_8: Tomcat EE version 7.0.5 with Oracle Java SE Server Runtime Environment 8
    • plus_v7_jdk_8: Tomcat EE version 7.0.5 with Oracle Java SE Development Kit 8
  • Java 7
    • plus_v7_server_jre_7_unlimited: Tomcat EE version 7.0.5 with Oracle Java SE Server Runtime Environment 7 and JCE patched
    • plus_v7_server_jre_7: Tomcat EE version 7.0.5 with Oracle Java SE Server Runtime Environment 7
    • plus_v7_jdk_7_unlimited: Tomcat EE version 7.0.5 with Oracle Java SE Development Kit 7 and JCE patched
    • plus_v7_jdk_7: Tomcat EE version 7.0.5 with Oracle Java SE Development Kit 7

TomEE Plus v1 (JavaEE 6 certificated)

  • Java 8
    • plus_v1_server_jre_8: Tomcat EE version 1.7.5 with Oracle Java SE Server Runtime Environment 8
    • plus_v1_jdk_8: Tomcat EE version 1.7.5 with Oracle Java SE Development Kit 8
  • Java 7
    • plus_v1_server_jre_7_unlimited: Tomcat EE version 1.7.5 with Oracle Java SE Server Runtime Environment 7 and JCE patched
    • plus_v1_server_jre_7: Tomcat EE version 1.7.5 with Oracle Java SE Server Runtime Environment 7
    • plus_v1_jdk_7_unlimited: Tomcat EE version 1.7.5 with Oracle Java SE Development Kit 7 and JCE patched
    • plus_v1_jdk_7: Tomcat EE version 1.7.5 with Oracle Java SE Development Kit 7

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub: docker pull sgrio/tomee

Usage

docker run -d -p 8080:8080 -v /path/to/webapp:/opt/apache-tomee/webapp sgrio/tomee

Advanced

You can always mount your own volumns to override the default configurations. I assume you know how to do that, right?