docker-mailcatcher

Dockerimage for mailcatcher SMTP service.
Log | Files | Refs | README

commit eccf7debd472dcb5cb8e1ff33570c350d004259d
parent e752507263213e9d2617da8049ac28a41fa9cbb1
Author: beardyjay <jay@beardyjay.co.uk>
Date:   Wed, 11 Dec 2019 10:56:45 +0000

Cleanup old gem cache.

Diffstat:
MDockerfile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest MAINTAINER beardyjay <jay@beardyjay.co.uk> -RUN apk add --update \ +RUN apk add --update --no-cache \ ruby \ ruby-dev \ ruby-etc \ @@ -13,7 +13,7 @@ RUN apk add --update \ && gem install json --no-ri --no-rdoc \ && gem install mailcatcher --no-ri --no-rdoc \ && apk del --purge ruby-dev build-base \ - && rm -rf /var/cache/apk/* + && rm -rf /usr/lib/ruby/gems/2.5.0/cache EXPOSE 1025 EXPOSE 1080