Skip to content

Commit

Permalink
fix(image): missing write access to create/modify templates for SCIM …
Browse files Browse the repository at this point in the history
…image

Ref: #2844
  • Loading branch information
iromli committed Nov 2, 2022
1 parent a05e19b commit b5c94ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-jans-scim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ RUN mkdir -p /etc/certs \
${JETTY_BASE}/common/libs/couchbase \
/usr/share/java

COPY jetty/jans-scim.xml ${JETTY_BASE}/jans-scim/webapps/
COPY --chown=1000:0 jetty/jans-scim.xml ${JETTY_BASE}/jans-scim/webapps/
COPY jetty/log4j2.xml ${JETTY_BASE}/jans-scim/resources/
COPY conf/*.tmpl /app/templates/
COPY templates /app/templates
Expand All @@ -246,7 +246,8 @@ RUN chmod -R g=u ${JETTY_BASE}/jans-scim/resources \
&& chmod 664 /opt/jetty/etc/jetty.xml \
&& chmod 664 /opt/jetty/etc/webdefault.xml \
&& chown -R 1000:0 ${JETTY_BASE}/common/libs \
&& chown -R 1000:0 /usr/share/java
&& chown -R 1000:0 /usr/share/java \
&& chmod -R g=u /app/templates/jans-scim \

USER 1000

Expand Down

0 comments on commit b5c94ba

Please sign in to comment.