From c9da62615be192ec875ad35072a193007ce63cbc Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Tue, 15 Jan 2019 10:12:09 +0000 Subject: [PATCH] Add /plugins symlink for backwards compatibility For context, see https://github.com/docker-library/rabbitmq/pull/297#pullrequestreview-192451466 --- 3.7/ubuntu/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3.7/ubuntu/Dockerfile b/3.7/ubuntu/Dockerfile index ebab93a..683b9e7 100644 --- a/3.7/ubuntu/Dockerfile +++ b/3.7/ubuntu/Dockerfile @@ -212,8 +212,8 @@ RUN groupadd --system rabbitmq && \ chown -fR rabbitmq:rabbitmq $RABBITMQ_INSTALL_DIR $RABBITMQ_CONF_DIR $RABBITMQ_LOG_DIR $RABBITMQ_DATA_DIR && \ ln -sf $RABBITMQ_DATA_DIR/.erlang.cookie /root/.erlang.cookie -# TODO @tianon why is this necessary? -# RUN ln -sf "/usr/lib/rabbitmq/lib/rabbitmq_server-$RABBITMQ_VERSION/plugins" /plugins +# Added for backwards compatibility - users can simply COPY custom plugins to /plugins +RUN ln -sf /opt/rabbitmq/plugins /plugins # Hint that the config, log & data (a.k.a. home dir) dirs should be separate volumes VOLUME $RABBITMQ_CONF_DIR