-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (25 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM alpine:3.6
MAINTAINER Frank Mai <[email protected]>
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL \
io.github.thxcode.build-date=$BUILD_DATE \
io.github.thxcode.name="rabbitmq-plugins-box" \
io.github.thxcode.description="Storing RabbitMQ plugins by Alpine." \
io.github.thxcode.url="https://github.com/thxcode/rabbitmq-plugins-box" \
io.github.thxcode.vcs-type="Git" \
io.github.thxcode.vcs-ref=$VCS_REF \
io.github.thxcode.vcs-url="https://github.com/thxcode/rabbitmq-plugins-box.git" \
io.github.thxcode.vendor="Rancher Labs, Inc" \
io.github.thxcode.version=$VERSION \
io.github.thxcode.schema-version="1.0" \
io.github.thxcode.license="MIT" \
io.github.thxcode.docker.dockerfile="/Dockerfile"
ENV IS_BOX true
RUN apk add --update --no-cache \
dumb-init bash sudo \
&& rm -fr /var/cache/apk/* \
&& mkdir /plugins
ADD [ "https://github.com/rabbitmq/rabbitmq-autocluster/releases/download/0.10.0/autocluster-0.10.0.ez", "https://github.com/rabbitmq/rabbitmq-autocluster/releases/download/0.10.0/rabbitmq_aws-0.10.0.ez", "/plugins/"]
CMD ["/bin/bash"]