Skip to content
Snippets Groups Projects
Commit 75649416 authored by Vincent Massol's avatar Vincent Massol
Browse files

[Misc] Remove CHMOD (which was not required anyway since the exec bit was already set in git)

parent a89cfbef
No related branches found
No related tags found
No related merge requests found
...@@ -65,12 +65,12 @@ RUN sed "s/<id>org.xwiki.enterprise:xwiki-enterprise-web/<id>org.xwiki.enterpris ...@@ -65,12 +65,12 @@ RUN sed "s/<id>org.xwiki.enterprise:xwiki-enterprise-web/<id>org.xwiki.enterpris
mv /usr/local/tomcat/webapps/ROOT/META-INF/extension2.xed /usr/local/tomcat/webapps/ROOT/META-INF/extension.xed mv /usr/local/tomcat/webapps/ROOT/META-INF/extension2.xed /usr/local/tomcat/webapps/ROOT/META-INF/extension.xed
# Add scripts required to make changes to XWiki configuration files at execution time # Add scripts required to make changes to XWiki configuration files at execution time
# Note: we don't run CHMOD since 1) it's not required since the executabe bit is already set in git and 2) running
# CHMOD after a COPY will sometimes fail, depending on different host-specific factors (especially on AUFS).
COPY xwiki/xwiki-config-replace.sh /usr/local/bin/xwiki-config-replace.sh COPY xwiki/xwiki-config-replace.sh /usr/local/bin/xwiki-config-replace.sh
COPY xwiki/xwiki-set-cfg /usr/local/bin/xwiki-set-cfg COPY xwiki/xwiki-set-cfg /usr/local/bin/xwiki-set-cfg
COPY xwiki/xwiki-set-properties /usr/local/bin/xwiki-set-properties COPY xwiki/xwiki-set-properties /usr/local/bin/xwiki-set-properties
COPY xwiki/start_xwiki.sh /usr/local/bin/start_xwiki.sh COPY xwiki/start_xwiki.sh /usr/local/bin/start_xwiki.sh
RUN chmod 0755 /usr/local/bin/xwiki-config-replace.sh /usr/local/bin/xwiki-set-cfg /usr/local/bin/xwiki-set-properties \
/usr/local/bin/start_xwiki.sh
# Make the XWiki directory (the permanent directory is included in it) persist on the host (so that it's not recreated # Make the XWiki directory (the permanent directory is included in it) persist on the host (so that it's not recreated
# across runs) # across runs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.