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.

21 lines
461 B

10 years ago
10 years ago
  1. FROM ruby:2.4-alpine3.6
  2. LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
  3. RUN set -xe \
  4. && apk add --no-cache \
  5. libstdc++ \
  6. sqlite-libs \
  7. && apk add --no-cache --virtual .build-deps \
  8. build-base \
  9. sqlite-dev \
  10. && gem install mailcatcher -v 0.6.5 --no-ri --no-rdoc \
  11. && apk del .build-deps
  12. # smtp port
  13. EXPOSE 1025
  14. # webserver port
  15. EXPOSE 1080
  16. CMD ["mailcatcher", "--foreground", "--ip=0.0.0.0"]