17 lines
407 B
Docker
17 lines
407 B
Docker
FROM debian:stretch
|
|
LABEL maintainer "Jan Dittberner <jan@dittberner.info>"
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
dumb-init \
|
|
rabbitmq-server \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*.*
|
|
|
|
EXPOSE 15672
|
|
EXPOSE 5672
|
|
VOLUME /var/lib/rabbitmq/mnesia
|
|
COPY startup.sh /srv/
|
|
|
|
ENTRYPOINT ["dumb-init"]
|
|
CMD "/srv/startup.sh"
|