Public | Automated Build

Last pushed: 19 hours ago
Short Description
Docker image for Eclipse Virgo Tomcat Server
Full Description



docker-virgo

Dockerfile for trusted builds of Eclipse Virgo on https://registry.hub.docker.com/u/rennergabor/virgo-tomcat-server/
Images based on Java8 JRE (Alpine) openjdk:8-jre-alpine or Java7 JRE (Alpine) openjdk:7-jre-alpine respectively

Customize your container

Virgo server has been installed to the /opt/virgo/ directory, so your application can be deployed into /opt/virgo/pickup.
If you build your own image, you can have a Dockerfile like

FROM rennergabor/virgo-tomcat-server:3.6.4

ADD my-app.jar /opt/virgo/pickup

and then docker build . your own image.

Or you might simply mount your application jar file as a docker volume.

docker run -p 8080:8080 -v path/to/my/app.jar:/opt/virgo/pickup/app.jar rennergabor/virgo-tomcat-server

With Docker Compose a sample docker-compose.yml might be the following:

version: '2'
services:
  virgo:
    image: rennergabor/virgo-tomcat-server:3.6.4
    volumes:
      - /work/virgo/target/configuration:/opt/virgo/configuration
      - /work/virgo/target/pickup:/opt/virgo/pickup
      - /work/virgo/target/repository/usr:/opt/virgo/repository/usr

and then docker-compose up do the trick.

Docker Pull Command
Owner
rennergabor
Source Repository

Comments (0)