diff --git a/tomcat/9.0.10/20.03-lts-sp1/Dockerfile b/tomcat/9.0.10/20.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ae50fad41e0e33eb17ec5cfc1c122d5311226b34 --- /dev/null +++ b/tomcat/9.0.10/20.03-lts-sp1/Dockerfile @@ -0,0 +1,7 @@ +FROM openeuler/openeuler:20.03-lts-sp1 +MAINTAINER gaohechao +RUN yum update -y && yum install -y tomcat && yum clean all; +RUN sed -i s/::1/0.0.0.0/g /usr/share/tomcat/conf/server.xml +RUN sed -i '118a\ secretRequired=""' /usr/share/tomcat/conf/server.xml +EXPOSE 8080 +CMD [ "/usr/libexec/tomcat/server", "start" ] diff --git a/tomcat/README.md b/tomcat/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9c6c91eda5ca9c4011ed9b507f16cd62b276ab0a --- /dev/null +++ b/tomcat/README.md @@ -0,0 +1,30 @@ +# Tomcat + +# Quick reference + +- The official Tomcat docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +# Build reference + +1. Build images and push: +```shell +docker buildx build -t "openeuler/tomcat:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +2. Run: +```shell +docker run -d openeuler/tomcat:9.0.10-20.03-lts-sp1 +``` + +# Supported tags and respective Dockerfile links + +- 9.0.10-20.03-lts-sp1: tomcat v9.0.10, openEuler 20.03 LTS SP1 + +## Operating System +Linux/Unix, ARM64 or x86-64 architecture.