Skip to content

Instantly share code, notes, and snippets.

@nicolasramy
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicolasramy/9567319 to your computer and use it in GitHub Desktop.
Save nicolasramy/9567319 to your computer and use it in GitHub Desktop.
Pourquoi continuer à utiliser une VM quand on peut faire autrement ?
FROM ubuntu
MAINTAINER Nicolas Ramy "nicolas.ramy@darkelda.com"
RUN echo "deb http://archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y upgrade
# Keep upstart for complaining
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl
RUN apt-get install -y python-dev git curl unzip
RUN apt-get install -y supervisor
RUN apt-get install -y beanstalkd
ENTRYPOINT ["beanstalkd", "-l", "0.0.0.0", "-p", "11300", "-b", "/var/lib/beanstalkd"]
EXPOSE 11300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment