From b4881fe75c8427efba1a2dd169308e101b7a17d1 Mon Sep 17 00:00:00 2001 From: kristian Date: Fri, 3 Apr 2020 10:31:10 +0100 Subject: [PATCH] ATS-693: Fix path to jar resources --- .../alfresco-transform-core-aio-boot/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile index a7e0fa3d..01d63651 100644 --- a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile +++ b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile @@ -29,9 +29,9 @@ ARG GROUPID=1000 ARG AIOUSERNAME=transform-all-in-one ARG USERID=33017 -COPY target/alfresco-transform-all-in-one-boot-${env.project_version}.jar /usr/bin +COPY target/alfresco-transform-core-aio-boot-${env.project_version}.jar /usr/bin -RUN ln /usr/bin/alfresco-transform-all-in-one-boot-${env.project_version}.jar /usr/bin/alfresco-transform-all-in-one-boot.jar && \ +RUN ln /usr/bin/alfresco-transform-core-aio-boot-${env.project_version}.jar /usr/bin/alfresco-transform-core-aio-boot.jar && \ curl -s -S $IMAGEMAGICK_RPM_URL -o imagemagick-distribution-linux.rpm && \ curl -s -S $IMAGEMAGICK_LIB_RPM_URL -o imagemagick-distribution-libs-linux.rpm && \ curl -s -S $IMAGEMAGICK_LICENSE_FILE -o ImageMagick-license.txt && \ @@ -61,10 +61,10 @@ ADD target/generated-sources/license/THIRD-PARTY.txt /licenses/ RUN groupadd -g ${GROUPID} ${GROUPNAME} && \ useradd -u ${USERID} -G ${GROUPNAME} ${AIOUSERNAME} && \ - chgrp -R ${GROUPNAME} /usr/bin/alfresco-transform-all-in-one-boot.jar + chgrp -R ${GROUPNAME} /usr/bin/alfresco-transform-core-aio-boot.jar EXPOSE 8090 USER ${AIOUSERNAME} -ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-transform-all-in-one-boot.jar \ No newline at end of file +ENTRYPOINT java $JAVA_OPTS -jar /usr/bin/alfresco-transform-core-aio-boot.jar \ No newline at end of file