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
|
||||
# Patch config
|
||||
cd /srv/crismapp
|
||||
patch -p0 </tmp/config.patch
|
||||
patch -p0 -i /tmp/config.patch
|
||||
rm /tmp/config.patch
|
||||
|
||||
# Create OS user
|
||||
|
@ -25,7 +25,7 @@ RUN EOF
|
||||
# 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
|
||||
cd /srv/tomcat/webapps/ROOT/scripts/
|
||||
patch -p0 </tmp/locale-cs.patch
|
||||
patch -p0 -i /tmp/locale-cs.patch
|
||||
rm /tmp/locale-cs.patch
|
||||
|
||||
# Change webapps ownership
|
||||
|
Loading…
Reference in New Issue
Block a user