Skip to content

Commit

Permalink
Fix for the Dockerfile-admin
Browse files Browse the repository at this point in the history
Now the build works as expected on different Linux distributions
  • Loading branch information
OpenPj authored Jan 27, 2022
1 parent 9ecd2da commit e50d2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-admin
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ USER root

RUN useradd -c "Alfresco APS" -M -s "/bin/bash" -u "${USERID}" -o "${USERNAME}"

COPY --chown=${USERNAME} jdbc-driver/*.* $TOMCAT_DIR/lib
COPY --chown=${USERNAME} jdbc-driver/*.* $TOMCAT_DIR/lib/
COPY --chown=${USERNAME} extensions/activiti-admin.war $TOMCAT_DIR/webapps
COPY --chown=${USERNAME} properties/activiti-admin.properties $TOMCAT_DIR/lib
COPY --chown=${USERNAME} admin/tomcat/conf/server.xml $TOMCAT_DIR/conf

RUN chown ${USERNAME}:${USERNAME} -R ${TOMCAT_DIR}

USER ${USERNAME}
USER ${USERNAME}

0 comments on commit e50d2b0

Please sign in to comment.