becpg-test-core (sha256:c1e42340b96a1bf894b9fbc8bf1fb3efc48827785a26583978a90e274f57a870)
Published 2026-04-01 18:53:00 +02:00 by astig
Installation
docker pull forge.astig.systems/astig/becpg-test-core@sha256:c1e42340b96a1bf894b9fbc8bf1fb3efc48827785a26583978a90e274f57a870sha256:c1e42340b96a1bf894b9fbc8bf1fb3efc48827785a26583978a90e274f57a870About this package
Apache Tomcat Image tailored for Alfresco products
Image layers
| ADD layer.tar.xz / # buildkit |
| CMD ["/bin/bash"] |
| ARG JDIST=jre |
| ARG JAVA_MAJOR=17 |
| ENV JAVA_HOME=/etc/alternatives/jre |
| ENV LANG=C.UTF-8 |
| ENV LC_ALL=C.UTF-8 |
| RUN |2 JDIST=jre JAVA_MAJOR=17 /bin/sh -c yum update --security -y && yum install -y langpacks-en java-${JAVA_MAJOR}-openjdk-headless && yum clean all && rm -rf /var/cache/yum # buildkit |
| ARG DISTRIB_NAME=rockylinux |
| ARG DISTRIB_MAJOR=9 |
| ARG JAVA_MAJOR=17 |
| ARG CREATED=2025-05-19T02:50:27Z |
| ARG REVISION=356 |
| LABEL org.label-schema.schema-version=1.0 org.label-schema.name=Alfresco Base Java Image org.label-schema.vendor=Alfresco org.label-schema.build-date=2025-05-19T02:50:27Z org.opencontainers.image.title=Alfresco Base Java Image org.opencontainers.image.vendor=Alfresco org.opencontainers.image.created=2025-05-19T02:50:27Z org.opencontainers.image.revision=356 org.opencontainers.image.source=https://github.com/Alfresco/alfresco-docker-base-java |
| RUN |6 JDIST=jre JAVA_MAJOR=17 DISTRIB_NAME=rockylinux DISTRIB_MAJOR=9 CREATED=2025-05-19T02:50:27Z REVISION=356 /bin/sh -c $JAVA_HOME/bin/java -version # buildkit |
| ARG DISTRIB_MAJOR=9 |
| ARG CREATED=2025-07-14T10:18:17Z |
| ARG REVISION=584 |
| ARG LABEL_NAME=Alfresco Base Tomcat Image |
| ARG LABEL_DESC=Apache Tomcat Image tailored for Alfresco products |
| ARG LABEL_VENDOR=Hyland |
| ARG LABEL_SOURCE=https://github.com/Alfresco/alfresco-docker-base-tomcat |
| LABEL org.label-schema.schema-version=1.0 org.label-schema.name=Alfresco Base Tomcat Image org.label-schema.description=Apache Tomcat Image tailored for Alfresco products org.label-schema.vendor=Hyland org.label-schema.build-date=2025-07-14T10:18:17Z org.label-schema.url=https://github.com/Alfresco/alfresco-docker-base-tomcat org.label-schema.vcs-url=https://github.com/Alfresco/alfresco-docker-base-tomcat org.label-schema.vcs-ref=https://github.com/Alfresco/alfresco-docker-base-tomcat org.opencontainers.image.title=Alfresco Base Tomcat Image org.opencontainers.image.description=Apache Tomcat Image tailored for Alfresco products org.opencontainers.image.vendor=Hyland org.opencontainers.image.authors=Alfresco OPS-Readiness org.opencontainers.image.revision=584 org.opencontainers.image.url=https://github.com/Alfresco/alfresco-docker-base-tomcat org.opencontainers.image.source=https://github.com/Alfresco/alfresco-docker-base-tomcat org.opencontainers.image.created=2025-07-14T10:18:17Z |
| ENV CATALINA_HOME=/usr/local/tomcat |
| ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib |
| ENV APR_LIBDIR=/usr/local/tomcat/apr |
| ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib:/usr/local/tomcat/apr |
| ENV PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| WORKDIR /usr/local/tomcat |
| RUN |7 DISTRIB_MAJOR=9 CREATED=2025-07-14T10:18:17Z REVISION=584 LABEL_NAME=Alfresco Base Tomcat Image LABEL_DESC=Apache Tomcat Image tailored for Alfresco products LABEL_VENDOR=Hyland LABEL_SOURCE=https://github.com/Alfresco/alfresco-docker-base-tomcat /bin/sh -c groupadd --system tomcat && useradd -M -s /bin/false --home $CATALINA_HOME --system --gid tomcat tomcat # buildkit |
| COPY --chown=:tomcat --chmod=640 /build/tomcat /usr/local/tomcat # buildkit |
| COPY --chown=:tomcat --chmod=640 /usr/local/tcnative /usr/local/tomcat/native-jni-lib # buildkit |
| COPY --chown=:tomcat --chmod=640 /usr/local/apr/lib/libapr-1.so* /usr/local/tomcat/apr/ # buildkit |
| SHELL [/bin/bash -euo pipefail -c] |
| RUN |7 DISTRIB_MAJOR=9 CREATED=2025-07-14T10:18:17Z REVISION=584 LABEL_NAME=Alfresco Base Tomcat Image LABEL_DESC=Apache Tomcat Image tailored for Alfresco products LABEL_VENDOR=Hyland LABEL_SOURCE=https://github.com/Alfresco/alfresco-docker-base-tomcat /bin/bash -euo pipefail -c if [ $DISTRIB_MAJOR -eq 8 ]; then dnf install -y dnf-plugins-core dnf config-manager -y --set-enabled powertools dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf install -y openssl3-libs dnf clean all fi mkdir -m 770 logs temp work && chgrp tomcat . logs temp work chmod ug+x bin/*.sh find . -type d -exec chmod 770 {} + # verify Tomcat Native is working properly nativeLines="$(catalina.sh configtest 2>&1 | grep -c 'Loaded Apache Tomcat Native library')" test $nativeLines -ge 1 || { echo "Tomcat Native library not found or not working properly"; exit 1; } # buildkit |
| USER tomcat |
| EXPOSE map[8080/tcp:{}] |
| CMD ["catalina.sh" "run" "-security"] |
| ARG resource_path=target |
| ARG GROUPNAME=Alfresco |
| ARG GROUPID=1000 |
| ARG IMAGEUSERNAME=alfresco |
| ARG USERID=33000 |
| ARG TOMCAT_DIR=/usr/local/tomcat |
| USER root |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c mkdir -p ${TOMCAT_DIR}/shared/classes/alfresco/extension/mimetypes && mkdir -p ${TOMCAT_DIR}/shared/classes/alfresco/extension/transform/renditions && mkdir -p ${TOMCAT_DIR}/shared/classes/alfresco/extension/transform/pipelines && mkdir /licenses && mkdir -p ${TOMCAT_DIR}/shared/classes/alfresco/extension/keystore && mkdir ${TOMCAT_DIR}/alfresco-mmt && touch ${TOMCAT_DIR}/shared/classes/alfresco-global.properties # buildkit |
| COPY target/war /usr/local/tomcat/webapps # buildkit |
| COPY target/connector/* /usr/local/tomcat/lib/ # buildkit |
| COPY target/alfresco-mmt/* /usr/local/tomcat/alfresco-mmt/ # buildkit |
| COPY target/dependency/licenses/ /licenses/ # buildkit |
| COPY target/dependency/keystore/metadata-keystore/keystore /usr/local/tomcat/shared/classes/alfresco/extension/keystore # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c sed -i "s/shared.loader=/shared.loader=\${catalina.base}\/shared\/classes/" ${TOMCAT_DIR}/conf/catalina.properties # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c mkdir -p ${TOMCAT_DIR}/amps # buildkit |
| COPY target/amps /usr/local/tomcat/amps # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -directory -nobackup # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c sed -i -e "s_appender.rolling.fileName\=alfresco.log_appender.rolling.fileName\=${TOMCAT_DIR}/logs\/alfresco.log_" ${TOMCAT_DIR}/webapps/alfresco/WEB-INF/classes/log4j2.properties && sed -i -e "s_appender.rolling.filePattern=alfresco.log.%d{yyyy-MM-dd}_appender.rolling.filePattern\=${TOMCAT_DIR}/logs\/alfresco.log.%d{yyyy-MM-dd}_" ${TOMCAT_DIR}/webapps/alfresco/WEB-INF/classes/log4j2.properties && sed -i -e "\$a\grant\ codeBase\ \"file:\$\{catalina.base\}\/webapps\/alfresco\/-\" \{\n\ permission\ java.security.AllPermission\;\n\};\ngrant\ codeBase\ \"file:\$\{catalina.base\}\/webapps\/_vti_bin\/-\" \{\n\ permission\ java.security.AllPermission\;\n\};\ngrant\ codeBase\ \"file:\$\{catalina.base\}\/webapps\/ROOT\/-\" \{\n\ permission org.apache.catalina.security.DeployXmlPermission \"ROOT\";\n\};" ${TOMCAT_DIR}/conf/catalina.policy # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c yum install -y fontconfig-2.14.0-2.el9_1 && yum clean all # buildkit |
| RUN |6 resource_path=target GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c mkdir -p ${TOMCAT_DIR}/conf/Catalina/localhost && mkdir -p ${TOMCAT_DIR}/alf_data && groupadd -g ${GROUPID} ${GROUPNAME} && useradd -u ${USERID} -G ${GROUPNAME} ${IMAGEUSERNAME} && chgrp -R ${GROUPNAME} ${TOMCAT_DIR} && chmod g+rx ${TOMCAT_DIR}/conf && chmod -R g+r ${TOMCAT_DIR}/conf && find ${TOMCAT_DIR}/webapps -type d -exec chmod 0750 {} \; && find ${TOMCAT_DIR}/webapps -type f -exec chmod 0640 {} \; && chmod -R g+r ${TOMCAT_DIR}/webapps && chmod g+r ${TOMCAT_DIR}/conf/Catalina && chmod g+rwx ${TOMCAT_DIR}/alf_data && chmod g+rwx ${TOMCAT_DIR}/logs && chmod o-w ${TOMCAT_DIR}/logs && chmod g+rwx ${TOMCAT_DIR}/temp && chmod g+rwx ${TOMCAT_DIR}/work && chmod o-w ${TOMCAT_DIR}/work && chmod 664 ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt-*.jar && find /licenses -type d -exec chmod 0755 {} \; && find /licenses -type f -exec chmod 0644 {} \; # buildkit |
| EXPOSE map[10001/tcp:{}] |
| EXPOSE map[8000/tcp:{}] |
| USER alfresco |
| ARG resource_path=target |
| ARG GROUPNAME=Alfresco |
| ARG IMAGEUSERNAME=alfresco |
| ARG TOMCAT_DIR=/usr/local/tomcat |
| USER root |
| COPY target/war /usr/local/tomcat/webapps/ # buildkit |
| COPY target/amps/* /usr/local/tomcat/amps/ # buildkit |
| RUN |4 resource_path=target GROUPNAME=Alfresco IMAGEUSERNAME=alfresco TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt*.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -directory -nobackup # buildkit |
| RUN |4 resource_path=target GROUPNAME=Alfresco IMAGEUSERNAME=alfresco TOMCAT_DIR=/usr/local/tomcat /bin/bash -euo pipefail -c chgrp -R ${GROUPNAME} ${TOMCAT_DIR}/webapps ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/lib && find ${TOMCAT_DIR}/webapps -type d -exec chmod 0750 {} \; && find ${TOMCAT_DIR}/webapps -type f -exec chmod 0640 {} \; && chmod -R g+r ${TOMCAT_DIR}/webapps && chmod 664 ${TOMCAT_DIR}/amps/* # buildkit |
| USER alfresco |
| ENV TOMCAT_DIR=/usr/local/tomcat NEXUS=https://artifacts.alfresco.com/nexus/content/groups/public AOS_VERSION=3.3.0 MYSQL_CONNECTOR=9.4.0 SUPPORT_TOOLS_VERSION=25.2.0.2-beCPG-amp I18_VERSION=1.0-138 |
| ARG GROUPNAME=Alfresco |
| ARG GROUPID=1000 |
| ARG IMAGEUSERNAME=alfresco |
| ARG USERID=33000 |
| USER root |
| RUN |4 GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 /bin/bash -euo pipefail -c curl --silent --location https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/${MYSQL_CONNECTOR}/mysql-connector-j-${MYSQL_CONNECTOR}.jar -o $TOMCAT_DIR/lib/mysql-connector-j-${MYSQL_CONNECTOR}.jar && rm $TOMCAT_DIR/lib/postgres* && curl --silent --location https://storage.googleapis.com/becpg-repo/addons/support-tools-repo-${SUPPORT_TOOLS_VERSION}.amp -o $TOMCAT_DIR/amps/support-tools-repo-${SUPPORT_TOOLS_VERSION}.amp && java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install $TOMCAT_DIR/amps/ $TOMCAT_DIR/webapps/alfresco -nobackup -directory && rm $TOMCAT_DIR/amps/support-tools-repo-${SUPPORT_TOOLS_VERSION}.amp && curl --silent --location ${NEXUS}/org/alfresco/aos-module/alfresco-aos-module/${AOS_VERSION}/alfresco-aos-module-${AOS_VERSION}.amp -o $TOMCAT_DIR/amps/alfresco-aos-core-${AOS_VERSION}.amp && java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install $TOMCAT_DIR/amps/ $TOMCAT_DIR/webapps/alfresco -force -nobackup -directory && rm $TOMCAT_DIR/amps/alfresco-aos-core-${AOS_VERSION}.amp && curl --silent --location https://storage.googleapis.com/becpg-repo/addons/alfresco-becpg-i18n-${I18_VERSION}.jar -o $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/alfresco-becpg-i18n-${I18_VERSION}.jar && rm -rf /var/cache/apt/* /tmp/* /var/tmp/* # buildkit |
| COPY tomcat/server.xml /usr/local/tomcat/conf/server.xml # buildkit |
| COPY becpg/classes /usr/local/tomcat/shared/classes # buildkit |
| RUN |4 GROUPNAME=Alfresco GROUPID=1000 IMAGEUSERNAME=alfresco USERID=33000 /bin/bash -euo pipefail -c rm -rf $TOMCAT_DIR/amps/* && mkdir -p ${TOMCAT_DIR}/data && rm -rf $TOMCAT_DIR/alf_data && chgrp -R ${GROUPNAME} ${TOMCAT_DIR} && chmod g+rx ${TOMCAT_DIR}/conf && chmod -R g+r ${TOMCAT_DIR}/conf && find ${TOMCAT_DIR}/webapps -type d -exec chmod 0750 {} \; && find ${TOMCAT_DIR}/webapps -type f -exec chmod 0640 {} \; && chmod -R g+r ${TOMCAT_DIR}/webapps && chmod g+r ${TOMCAT_DIR}/conf/Catalina && chmod g+rwx ${TOMCAT_DIR}/data && chmod g+rwx ${TOMCAT_DIR}/logs && chmod o-w ${TOMCAT_DIR}/logs && chmod g+rwx ${TOMCAT_DIR}/temp && chmod g+rwx ${TOMCAT_DIR}/work && chmod o-w ${TOMCAT_DIR}/work && chmod 664 ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt-*.jar && find /licenses -type d -exec chmod 0755 {} \; && find /licenses -type f -exec chmod 0644 {} \; # buildkit |
| ENV JAVA_OPTS=-Ddir.root=/usr/local/tomcat/data -XX:+ExitOnOutOfMemoryError -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -Xss512k -XX:+UseStringDeduplication |
| ENV TOMCAT_DIR=/usr/local/tomcat |
| RUN /bin/bash -euo pipefail -c curl -sL https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar -o $TOMCAT_DIR/jacoco-runtime.jar # buildkit |
| COPY --chown=33000:1000 alfresco/hotswap-agent.properties /usr/local/tomcat/webapps/alfresco/WEB-INF/classes/ # buildkit |
| COPY --chown=33000:1000 alfresco/disable-hotswap-agent.properties /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/hotswap-agent.properties # buildkit |
| COPY --chown=33000:1000 alfresco/disable-hotswap-agent.properties /usr/local/tomcat/webapps/_vti_bin/WEB-INF/classes/hotswap-agent.properties # buildkit |
| COPY --chown=33000:1000 alfresco/disable-hotswap-agent.properties /usr/local/tomcat/webapps/api-explorer/WEB-INF/classes/hotswap-agent.properties # buildkit |
| COPY --chown=33000:1000 alfresco/beCPG.properties /usr/local/tomcat/shared/classes/ # buildkit |
| COPY --chown=33000:1000 alfresco/alfresco-global.properties /usr/local/tomcat/shared/classes/ # buildkit |
| COPY --chown=33000:1000 alfresco/catalina.policy /usr/local/tomcat/conf/ # buildkit |
| COPY --chown=33000:1000 /usr/local/tomcat/webapps/alfresco/ /usr/local/tomcat/webapps/alfresco/ # buildkit |
| COPY --chown=33000:1000 extensions/*.jar /usr/local/tomcat/webapps/alfresco/WEB-INF/lib/ # buildkit |
| COPY --chown=33000:1000 forms/ /usr/local/tomcat/webapps/alfresco/WEB-INF/classes/beCPG/forms/ # buildkit |
| COPY --chown=33000:1000 becpg-plm/ /usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/becpg-plm-core/ # buildkit |
Labels
| Key | Value |
|---|---|
| com.docker.compose.project | target |
| com.docker.compose.service | becpg-test-core |
| com.docker.compose.version | 5.0.2 |
| org.label-schema.build-date | 2025-07-14T10:18:17Z |
| org.label-schema.description | Apache Tomcat Image tailored for Alfresco products |
| org.label-schema.name | Alfresco Base Tomcat Image |
| org.label-schema.schema-version | 1.0 |
| org.label-schema.url | https://github.com/Alfresco/alfresco-docker-base-tomcat |
| org.label-schema.vcs-ref | https://github.com/Alfresco/alfresco-docker-base-tomcat |
| org.label-schema.vcs-url | https://github.com/Alfresco/alfresco-docker-base-tomcat |
| org.label-schema.vendor | Hyland |
| org.opencontainers.image.authors | Alfresco OPS-Readiness |
| org.opencontainers.image.created | 2025-07-14T10:18:17Z |
| org.opencontainers.image.description | Apache Tomcat Image tailored for Alfresco products |
| org.opencontainers.image.revision | 584 |
| org.opencontainers.image.source | https://github.com/Alfresco/alfresco-docker-base-tomcat |
| org.opencontainers.image.title | Alfresco Base Tomcat Image |
| org.opencontainers.image.url | https://github.com/Alfresco/alfresco-docker-base-tomcat |
| org.opencontainers.image.vendor | Hyland |
Details
2026-04-01 18:53:00 +02:00
Versions (1)
View all
Container
0
OCI / Docker
linux/amd64
Alfresco OPS-Readiness
769 MiB
25.2.1.0-snapshot
2026-04-01