Add missing `-` in `set -eux`

This commit is contained in:
Tianon Gravi 2024-09-20 14:15:09 -07:00
parent 444c58b5b5
commit 36e4d246e9
7 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
FROM rabbitmq:3.12-alpine FROM rabbitmq:3.12-alpine
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -6,7 +6,7 @@
FROM rabbitmq:3.12 FROM rabbitmq:3.12
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -6,7 +6,7 @@
FROM rabbitmq:3.13-alpine FROM rabbitmq:3.13-alpine
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -6,7 +6,7 @@
FROM rabbitmq:3.13 FROM rabbitmq:3.13
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -6,7 +6,7 @@
FROM rabbitmq:4.0-alpine FROM rabbitmq:4.0-alpine
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -6,7 +6,7 @@
FROM rabbitmq:4.0 FROM rabbitmq:4.0
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \

View File

@ -3,7 +3,7 @@ FROM {{
+ if env.variant == "alpine" then "-alpine" else "" end + if env.variant == "alpine" then "-alpine" else "" end
}} }}
RUN set eux; \ RUN set -eux; \
rabbitmq-plugins enable --offline rabbitmq_management; \ 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) # 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; \ rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \