This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch 3_0_X in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/3_0_X by this push: new cb4be42fe2 [SYNCOPE-1909] Changing base image to comply with all platforms cb4be42fe2 is described below commit cb4be42fe268de38748701cf76916b10a6abe6a7 Author: Francesco Chicchiriccò <ilgro...@apache.org> AuthorDate: Fri Sep 5 11:26:03 2025 +0200 [SYNCOPE-1909] Changing base image to comply with all platforms --- docker/console/src/main/resources/Dockerfile | 7 ++----- docker/core/src/main/resources/Dockerfile | 7 ++----- docker/enduser/src/main/resources/Dockerfile | 7 ++----- docker/sra/src/main/resources/Dockerfile | 7 ++----- docker/wa/src/main/resources/Dockerfile | 7 ++----- 5 files changed, 10 insertions(+), 25 deletions(-) diff --git a/docker/console/src/main/resources/Dockerfile b/docker/console/src/main/resources/Dockerfile index 1c91d19e30..e7b23af002 100644 --- a/docker/console/src/main/resources/Dockerfile +++ b/docker/console/src/main/resources/Dockerfile @@ -15,11 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:17-jammy LABEL org.opencontainers.image.authors="d...@syncope.apache.org" -RUN apk update && apk add bash curl - RUN mkdir /opt/syncope /opt/syncope/bin /opt/syncope/conf /opt/syncope/lib /opt/syncope/log COPY *.properties log4j2.xml /opt/syncope/conf/ @@ -36,8 +34,7 @@ CMD ["/opt/syncope/bin/startup.sh"] RUN curl -o /usr/local/bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod 755 /usr/local/bin/wait-for-it -RUN addgroup --system syncope && adduser -S -s /usr/sbin/nologin -G syncope syncope -RUN chown -R syncope:syncope /opt/syncope +RUN useradd -ms /usr/sbin/nologin syncope && chown -R syncope /opt/syncope USER syncope EXPOSE 8080 diff --git a/docker/core/src/main/resources/Dockerfile b/docker/core/src/main/resources/Dockerfile index 8a0ddc4cae..e557a773d1 100644 --- a/docker/core/src/main/resources/Dockerfile +++ b/docker/core/src/main/resources/Dockerfile @@ -15,11 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:17-jammy LABEL org.opencontainers.image.authors="d...@syncope.apache.org" -RUN apk update && apk add bash curl - RUN mkdir /opt/syncope /opt/syncope/bin /opt/syncope/bundles /opt/syncope/conf /opt/syncope/lib /opt/syncope/jpa-json /opt/syncope/log COPY *.properties *.xml saml.keystore.jks /opt/syncope/conf/ @@ -42,8 +40,7 @@ CMD ["/opt/syncope/bin/startup.sh"] RUN curl -o /usr/local/bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod 755 /usr/local/bin/wait-for-it -RUN addgroup --system syncope && adduser -S -s /usr/sbin/nologin -G syncope syncope -RUN chown -R syncope:syncope /opt/syncope +RUN useradd -ms /usr/sbin/nologin syncope && chown -R syncope /opt/syncope USER syncope EXPOSE 8080 diff --git a/docker/enduser/src/main/resources/Dockerfile b/docker/enduser/src/main/resources/Dockerfile index 78fc309636..47300bf2fa 100644 --- a/docker/enduser/src/main/resources/Dockerfile +++ b/docker/enduser/src/main/resources/Dockerfile @@ -15,11 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:17-jammy LABEL org.opencontainers.image.authors="d...@syncope.apache.org" -RUN apk update && apk add bash curl - RUN mkdir /opt/syncope /opt/syncope/bin /opt/syncope/conf /opt/syncope/lib /opt/syncope/log COPY *.properties *.json log4j2.xml /opt/syncope/conf/ @@ -36,8 +34,7 @@ CMD ["/opt/syncope/bin/startup.sh"] RUN curl -o /usr/local/bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod 755 /usr/local/bin/wait-for-it -RUN addgroup --system syncope && adduser -S -s /usr/sbin/nologin -G syncope syncope -RUN chown -R syncope:syncope /opt/syncope +RUN useradd -ms /usr/sbin/nologin syncope && chown -R syncope /opt/syncope USER syncope EXPOSE 8080 diff --git a/docker/sra/src/main/resources/Dockerfile b/docker/sra/src/main/resources/Dockerfile index d14e71a42f..bba575edaf 100644 --- a/docker/sra/src/main/resources/Dockerfile +++ b/docker/sra/src/main/resources/Dockerfile @@ -15,11 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:17-jammy LABEL org.opencontainers.image.authors="d...@syncope.apache.org" -RUN apk update && apk add bash curl - RUN mkdir /opt/syncope /opt/syncope/bin /opt/syncope/conf /opt/syncope/lib /opt/syncope/log COPY *.properties log4j2.xml /opt/syncope/conf/ @@ -36,8 +34,7 @@ CMD ["/opt/syncope/bin/startup.sh"] RUN curl -o /usr/local/bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod 755 /usr/local/bin/wait-for-it -RUN addgroup --system syncope && adduser -S -s /usr/sbin/nologin -G syncope syncope -RUN chown -R syncope:syncope /opt/syncope +RUN useradd -ms /usr/sbin/nologin syncope && chown -R syncope /opt/syncope USER syncope EXPOSE 8080 diff --git a/docker/wa/src/main/resources/Dockerfile b/docker/wa/src/main/resources/Dockerfile index e85a4de325..22ef857d27 100644 --- a/docker/wa/src/main/resources/Dockerfile +++ b/docker/wa/src/main/resources/Dockerfile @@ -15,11 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:17-jammy LABEL org.opencontainers.image.authors="d...@syncope.apache.org" -RUN apk update && apk add bash curl - RUN mkdir /opt/syncope /opt/syncope/bin /opt/syncope/conf /opt/syncope/lib /opt/syncope/log COPY *.properties log4j2.xml /opt/syncope/conf/ @@ -36,8 +34,7 @@ CMD ["/opt/syncope/bin/startup.sh"] RUN curl -o /usr/local/bin/wait-for-it https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod 755 /usr/local/bin/wait-for-it -RUN addgroup --system syncope && adduser -S -s /usr/sbin/nologin -G syncope syncope -RUN chown -R syncope:syncope /opt/syncope +RUN useradd -ms /usr/sbin/nologin syncope && chown -R syncope /opt/syncope USER syncope EXPOSE 8080