Skip to content

Commit

Permalink
Merge pull request #19 from schueffi/master
Browse files Browse the repository at this point in the history
fixing order for touch command
  • Loading branch information
cptactionhank committed Feb 28, 2016
2 parents 2f3c748 + dfe7f94 commit 5191c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN set -x \
&& chown -R daemon:daemon "${CONF_INSTALL}/temp" \
&& chown -R daemon:daemon "${CONF_INSTALL}/logs" \
&& chown -R daemon:daemon "${CONF_INSTALL}/work" \
&& touch -d "@0" "/opt/atlassian/confluence/conf/server.xml" \
&& echo -e "\nconfluence.home=$CONF_HOME" >> "${CONF_INSTALL}/confluence/WEB-INF/classes/confluence-init.properties" \
&& xmlstarlet ed --inplace \
--delete "Server/@debug" \
Expand All @@ -36,7 +35,8 @@ RUN set -x \
--delete "Server/Service/Engine/@debug" \
--delete "Server/Service/Engine/Host/@debug" \
--delete "Server/Service/Engine/Host/Context/@debug" \
"${CONF_INSTALL}/conf/server.xml"
"${CONF_INSTALL}/conf/server.xml" \
&& touch -d "@0" "/opt/atlassian/confluence/conf/server.xml"

# Use the default unprivileged account. This could be considered bad practice
# on systems where multiple processes end up being executed by 'daemon' but
Expand Down

0 comments on commit 5191c69

Please sign in to comment.