diff --git a/3.12/alpine/management/Dockerfile b/3.12/alpine/management/Dockerfile index 338e2c3e..20ec2e94 100644 --- a/3.12/alpine/management/Dockerfile +++ b/3.12/alpine/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:3.12-alpine -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/3.12/ubuntu/management/Dockerfile b/3.12/ubuntu/management/Dockerfile index b1102cef..1ebfd535 100644 --- a/3.12/ubuntu/management/Dockerfile +++ b/3.12/ubuntu/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:3.12 -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/3.13/alpine/management/Dockerfile b/3.13/alpine/management/Dockerfile index 174e0afa..283386d8 100644 --- a/3.13/alpine/management/Dockerfile +++ b/3.13/alpine/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:3.13-alpine -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/3.13/ubuntu/management/Dockerfile b/3.13/ubuntu/management/Dockerfile index 14855920..0ed0f059 100644 --- a/3.13/ubuntu/management/Dockerfile +++ b/3.13/ubuntu/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:3.13 -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/4.0/alpine/management/Dockerfile b/4.0/alpine/management/Dockerfile index a7f01de5..f939d7a4 100644 --- a/4.0/alpine/management/Dockerfile +++ b/4.0/alpine/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:4.0-alpine -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/4.0/ubuntu/management/Dockerfile b/4.0/ubuntu/management/Dockerfile index d7d8540f..da5b1b39 100644 --- a/4.0/ubuntu/management/Dockerfile +++ b/4.0/ubuntu/management/Dockerfile @@ -6,7 +6,7 @@ FROM rabbitmq:4.0 -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \ diff --git a/Dockerfile-management.template b/Dockerfile-management.template index 8467fc1b..c0d742de 100644 --- a/Dockerfile-management.template +++ b/Dockerfile-management.template @@ -3,7 +3,7 @@ FROM {{ + if env.variant == "alpine" then "-alpine" else "" end }} -RUN set eux; \ +RUN set -eux; \ rabbitmq-plugins enable --offline rabbitmq_management; \ # make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default) rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \