Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vpro/tomcat
Tomcat image for use in NPO CHP environment
https://github.com/vpro/tomcat
docker
Last synced: about 1 month ago
JSON representation
Tomcat image for use in NPO CHP environment
- Host: GitHub
- URL: https://github.com/vpro/tomcat
- Owner: vpro
- License: apache-2.0
- Created: 2024-08-07T15:25:40.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-11T12:47:54.000Z (about 2 months ago)
- Last Synced: 2024-12-11T13:43:32.173Z (about 2 months ago)
- Topics: docker
- Language: Shell
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= vpro-tomcat
:toc:Generic tomcat base image that:
. Separates CATALINA_BASE
. Prepares for a proxy server that arranges https, and more customized tomcat configuration.
. contains some custom scripts
- 'aptime': command line utility to show what's running
- /usr/local/catalina-base/bin/start.sh custom start up script. Arranging gracefull shutdown.
- /usr/local/catalina-base/bin/setenv.sh picked up by tomcat
- /usr/local/catalina-base/bin/jmx.sh included by setenv.sh, but can also be used remotely for easy figuring out what the relevant ports to forward are
- has eu-central certificates in cacertsIt is built and released using github actions, and available https://github.com/vpro/tomcat/pkgs/container/tomcat[via github packages]
== Building locally
You can build this locally like so:
----
docker build -t vpro/tomcat:latest .
----Use e.g. with a Dockerfile like this:
----
ARG NAME=media-serverFROM ghcr.io/vpro/tomcat:latest
RUN apt-get -y install openssh-client sshpass
----which then can be build this way:
.example for media-server
[source,bash]
----
~/npo/media/trunk$ docker build —-build-arg PROJECT_VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout` -t media-server media-server
----.example for api-server
[source,bash]
----
~/npo/api/trunk$ docker build --build-arg PROJECT_VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout` -t api-server api-server
----== Versions
|===
|version | tomcat | java | remarks
| >= 10.18 | 10.x | 21 | using jre rather than jdk, which makes the image smaller.
| >= 10.10 | 10.x | 21 | available as ghcr.io/vpro/tomcat:10.x
| >= 10.7 | 10.x | 21 | versions for cph5
| >= 10.6.2 | 10.x | 21 | chp4 version available as ghcr.io/vpro/tomcat:10.6.x
| 10.6.* | 10.x | 21 | running for chp4, mainly related to chown-settings for certain directories
| 10.x | 10.x | 21 |
| 9.x | >= 9.0.81 | 21 |
| 4.x | 9.x | 21 |
| 3.x | 9.x | 17 | first one named vpro/tomcat?
| 2.x | 9.x | 17 |
| 1.x | 9.x | 8 |
|===