You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
505 B

10 years ago
  1. FROM debian:wheezy
  2. MAINTAINER Johannes Schickling "schickling.j@gmail.com"
  3. # install ruby 1.9.1
  4. RUN apt-get update && apt-get install -y ruby ruby-dev build-essential
  5. # install mailcatcher
  6. RUN gem install mailcatcher --no-ri --no-rdoc
  7. # cleanup package manager
  8. RUN apt-get remove --purge -y build-essential ruby-dev && apt-get autoclean && apt-get clean
  9. RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  10. # smtp port
  11. EXPOSE 1025
  12. # webserver port
  13. EXPOSE 1080
  14. CMD ["mailcatcher", "-f", "--ip=0.0.0.0"]