Skip to content

Commit cc13eb8

Browse files
committed
chown the definitions to the rabbit user after our script edits them
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
1 parent be17544 commit cc13eb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/rabbitmq/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ ARG RABBIT_MQ_DEFAULT_VHOST=augur_vhost
1212
COPY --chown=rabbitmq:rabbitmq ./docker/rabbitmq/augur.conf /etc/rabbitmq/conf.d/
1313

1414
ADD docker/rabbitmq/definitions.json /etc/rabbitmq/
15-
RUN chown rabbitmq:rabbitmq /etc/rabbitmq/definitions.json
1615

1716
ADD docker/rabbitmq/advanced.config /etc/rabbitmq/
1817
RUN chown rabbitmq:rabbitmq /etc/rabbitmq/advanced.config
@@ -23,3 +22,5 @@ RUN apk add --no-cache python3
2322
COPY docker/rabbitmq/update_config.py /
2423

2524
RUN exec python3 update_config.py
25+
26+
RUN chown rabbitmq:rabbitmq /etc/rabbitmq/definitions.json

0 commit comments

Comments
 (0)