GithubHelp home page GithubHelp logo

abhinavmishra14 / alfresco-docker-base-tomcat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfresco/alfresco-docker-base-tomcat

0.0 1.0 0.0 121 KB

License: Apache License 2.0

Dockerfile 100.00%

alfresco-docker-base-tomcat's Introduction

Alfresco Docker Base Tomcat Build Status

This repository contains the Dockerfile used to create the parent Tomcat image that will be used by Alfresco engineering teams, other internal groups in the organization, customers and partners to create Tomcat bases application images from.

Images are available for latest Tomcat 8.5.x and 9.0.x.

This image depends on the alfresco-docker-base-java.

Quickstart

Choose between one of the available flavours built from this repository:

Tomcat version Java version Java flavour OS Image tag Size
9 11 jre Centos 7 tomcat9-jre11-centos7 tomcat9-jre11-centos7 size
9 11 jdk Centos 7 tomcat9-jdk11-centos7 tomcat9-jdk11-centos7 size
8 11 jre Centos 7 tomcat8-jre11-centos7 tomcat8-jre11-centos7 size
8 11 jdk Centos 7 tomcat8-jdk11-centos7 tomcat8-jdk11-centos7 size
9 11 jre Rocky Linux 8 tomcat9-jre11-rockylinux8 tomcat9-jre11-rockylinux8 size
8 11 jre Rocky Linux 8 tomcat8-jre11-rockylinux8 tomcat8-jre11-rockylinux8 size
9 17 jre Rocky Linux 8 tomcat9-jre17-rockylinux8 tomcat9-jre17-rockylinux8 size
8 17 jre Rocky Linux 8 tomcat8-jre17-rockylinux8 tomcat8-jre17-rockylinux8 size
  • Docker Hub image name: alfresco/alfresco-base-tomcat
  • Quay image name: quay.io/alfresco/alfresco-base-tomcat

Example final image: alfresco/alfresco-base-tomcat:tomcat9-jre11-centos7

If you are using this base image in a public repository, please stick to the Docker Hub published image.

Image pinning

The pinning suggestions provided in alfresco-base-java are valid for this image too.

Usage

The image can be used via docker run to run java applications with --read-only set.

Depending on your use case, you may want to set the following path as volumes:

  • /usr/local/tomcat/logs
  • /usr/local/tomcat/work
  • /usr/local/tomcat/temp
  • /usr/local/tomcat/conf/Catalina

The Tomcat in this image is running with Security Manager switched on. This may impact performance. The Security Manager can be disabled by overriding the startup command to:

CMD ["catalina.sh", "run"]

Development

Naming specs

The images built from this repository are named as follow:

tomcat<TOMCAT_VERSION>-<JAVA_DISTRIBUTION_TYPE><JAVA_MAJOR_VERSION>-<OS_DISTRIBUTION_NAME><OS_DISTRIBUTION_VERSION>

How to build an image locally

To build this image, run the following script:

IMAGE_REPOSITORY=alfresco/alfresco-base-tomcat
docker buildx build -t $IMAGE_REPOSITORY . \
  --build-arg DISTRIB_NAME=$DISTRIB_NAME \
  --build-arg DISTRIB_MAJOR=$DISTRIB_MAJOR \
  --build-arg JAVA_MAJOR=$JAVA_MAJOR \
  --build-arg JDIST=$JDIST \
  --build-arg TOMCAT_MAJOR=$TOMCAT_MAJOR \
  --no-cache

where:

  • DISTRIB_NAME is centos or rockylinux
  • DISTRIB_MAJOR is 7 for centos or 8 for rockylinux
  • JAVA_MAJOR is 11 or 17 for rockylinux only
  • JDIST is jre or jdk
  • TOMCAT_MAJOR is 8 or 9

Release

Just push a commit on the default branch including [release] in the message to trigger a release on the CI.

alfresco-docker-base-tomcat's People

Contributors

alxgomz avatar amohammedalfresco avatar andrei-rebegea avatar dependabot[bot] avatar epurashu avatar gionn avatar jamalkm avatar jottley avatar killerboot avatar mihamimi avatar mteodori avatar nicdoye avatar rgauss avatar rpopa avatar sergiuv2020 avatar theoutsseeker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.