Build: Update plugin installation in custom Dockerfile (#68310)
Update custom dockerfile Add `set -e` command to the custom Dockerfile to prevent missing plugins in installation.
This commit is contained in:
@@ -43,6 +43,7 @@ ARG GF_INSTALL_PLUGINS=""
|
|||||||
RUN if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then \
|
RUN if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then \
|
||||||
OLDIFS=$IFS; \
|
OLDIFS=$IFS; \
|
||||||
IFS=','; \
|
IFS=','; \
|
||||||
|
set -e ; \
|
||||||
for plugin in ${GF_INSTALL_PLUGINS}; do \
|
for plugin in ${GF_INSTALL_PLUGINS}; do \
|
||||||
IFS=$OLDIFS; \
|
IFS=$OLDIFS; \
|
||||||
if expr match "$plugin" '.*\;.*'; then \
|
if expr match "$plugin" '.*\;.*'; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user