mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Docker: Abort image build when npm install
fails (#4026)
Without this change, plugin install failures are silently ignored.
This commit is contained in:
parent
07c73d4f2d
commit
a4713a8308
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ RUN bin/installDeps.sh && \
|
|||
#
|
||||
# Bash trick: in the for loop ${ETHERPAD_PLUGINS} is NOT quoted, in order to be
|
||||
# able to split at spaces.
|
||||
RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}"; done
|
||||
RUN for PLUGIN_NAME in ${ETHERPAD_PLUGINS}; do npm install "${PLUGIN_NAME}" || exit 1; done
|
||||
|
||||
# Copy the configuration file.
|
||||
COPY --chown=etherpad:0 ./settings.json.docker /opt/etherpad-lite/settings.json
|
||||
|
|
Loading…
Reference in a new issue