Skip to content

Commit

Permalink
using Alpine for Beanstalkd and RabbitMQ, list all ports exposed for …
Browse files Browse the repository at this point in the history
…RabbitMQ (laradock#1950)
  • Loading branch information
lanphan authored and bestlong committed Jan 11, 2019
1 parent 36c7836 commit 53e8229
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
15 changes: 3 additions & 12 deletions beanstalkd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
FROM phusion/baseimage:latest

FROM alpine
LABEL maintainer="Mahmoud Zalt <[email protected]>"

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"]
4 changes: 2 additions & 2 deletions rabbitmq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rabbitmq
FROM rabbitmq:alpine

LABEL maintainer="Mahmoud Zalt <[email protected]>"

RUN rabbitmq-plugins enable --offline rabbitmq_management

EXPOSE 15671 15672
EXPOSE 4369 5671 5672 15671 15672 25672

0 comments on commit 53e8229

Please sign in to comment.