Use tomcat 10.1 base image

This commit is contained in:
pzurek
2023-06-13 15:19:19 +02:00
parent 4d75f7f719
commit 7c545a7066
2 changed files with 8 additions and 2 deletions

View File

@@ -16,4 +16,10 @@ function clone_and_install {
clone_and_install surf-webscripts
clone_and_install alfresco-greenmail
clone_and_install alfresco-tas-email
clone_and_install alfresco-tas-email
tomcat_image_path=$DEPENDENCIES_DIR/projects/alfresco-docker-base-tomcat
if [ ! -d "$tomcat_image_path" ]; then
git clone --single-branch --branch jakarta-migration https://github.com/Alfresco/alfresco-docker-base-tomcat.git $tomcat_image_path
fi
docker build --build-arg JDIST=jre --build-arg DISTRIB_NAME=rockylinux --build-arg DISTRIB_MAJOR=8 --build-arg JAVA_MAJOR=17 --build-arg TOMCAT_MAJOR=10 -t tomcat10-jakarta $tomcat_image_path