2016-05-09 10:02:15 +08:00
|
|
|
FROM phusion/baseimage:latest
|
|
|
|
|
2018-03-16 17:34:47 +08:00
|
|
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
2016-05-09 10:02:15 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
EXPOSE 11300
|
|
|
|
|
2018-03-16 17:34:47 +08:00
|
|
|
CMD ["/usr/bin/beanstalkd"]
|