Add support services
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
8
support/rabbitmq/Dockerfile
Normal file
8
support/rabbitmq/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM rabbitmq
|
||||
|
||||
RUN apt-get update && apt-get install -y curl jq wget && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -s "https://api.github.com/repos/noxdafox/rabbitmq-message-deduplication/releases/latest" | jq -r '.assets[] | select(.name | endswith(".ez")).browser_download_url' | while read url; do file=$(basename $url); new_name=$(echo $file | sed 's/-[^-]*\.ez/\.ez/'); wget $url -O plugins/$new_name; done
|
||||
|
||||
RUN rabbitmq-plugins disable --offline rabbitmq_prometheus
|
||||
RUN rabbitmq-plugins enable --offline rabbitmq_management rabbitmq_message_deduplication
|
Reference in New Issue
Block a user