using Alpine for Beanstalkd and RabbitMQ, list all ports exposed for RabbitMQ (#1950)
This commit is contained in:
parent
36c78369d5
commit
53e8229313
@ -1,16 +1,7 @@
|
||||
FROM phusion/baseimage:latest
|
||||
|
||||
FROM alpine
|
||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y beanstalkd
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
VOLUME /var/lib/beanstalkd/data
|
||||
RUN apk add --no-cache beanstalkd
|
||||
|
||||
EXPOSE 11300
|
||||
|
||||
CMD ["/usr/bin/beanstalkd"]
|
||||
ENTRYPOINT ["/usr/bin/beanstalkd"]
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM rabbitmq
|
||||
FROM rabbitmq:alpine
|
||||
|
||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||
|
||||
RUN rabbitmq-plugins enable --offline rabbitmq_management
|
||||
|
||||
EXPOSE 15671 15672
|
||||
EXPOSE 4369 5671 5672 15671 15672 25672
|
||||
|
Loading…
Reference in New Issue
Block a user