Use -i to apply patches instead of stdin redirect
This commit is contained in:
parent
1c140bb593
commit
c757630f7a
@ -17,7 +17,7 @@ COPY image.d
|
|||||||
RUN EOF
|
RUN EOF
|
||||||
# Patch config
|
# Patch config
|
||||||
cd /srv/crismapp
|
cd /srv/crismapp
|
||||||
patch -p0 </tmp/config.patch
|
patch -p0 -i /tmp/config.patch
|
||||||
rm /tmp/config.patch
|
rm /tmp/config.patch
|
||||||
|
|
||||||
# Create OS user
|
# Create OS user
|
||||||
|
@ -25,7 +25,7 @@ RUN EOF
|
|||||||
# Update Czech translation of community-app
|
# Update Czech translation of community-app
|
||||||
wget 'https://translatewiki.net/wiki/Special:ExportTranslations?group=out-mifos&language=cs&format=export-to-file' -O /srv/tomcat/webapps/ROOT/global-translations/locale-cs.json
|
wget 'https://translatewiki.net/wiki/Special:ExportTranslations?group=out-mifos&language=cs&format=export-to-file' -O /srv/tomcat/webapps/ROOT/global-translations/locale-cs.json
|
||||||
cd /srv/tomcat/webapps/ROOT/scripts/
|
cd /srv/tomcat/webapps/ROOT/scripts/
|
||||||
patch -p0 </tmp/locale-cs.patch
|
patch -p0 -i /tmp/locale-cs.patch
|
||||||
rm /tmp/locale-cs.patch
|
rm /tmp/locale-cs.patch
|
||||||
|
|
||||||
# Change webapps ownership
|
# Change webapps ownership
|
||||||
|
Loading…
Reference in New Issue
Block a user