mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
11c388a10f
commit
df4f569b68
@ -43,6 +43,7 @@ ARG GF_INSTALL_PLUGINS=""
|
||||
RUN if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then \
|
||||
OLDIFS=$IFS; \
|
||||
IFS=','; \
|
||||
set -e ; \
|
||||
for plugin in ${GF_INSTALL_PLUGINS}; do \
|
||||
IFS=$OLDIFS; \
|
||||
if expr match "$plugin" '.*\;.*'; then \
|
||||
|
Loading…
Reference in New Issue
Block a user