Use -i to apply patches instead of stdin redirect

This commit is contained in:
Disassembler 2020-10-24 22:09:21 +02:00
parent 1c140bb593
commit c757630f7a
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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