Commit f494cda1 authored by Joachim Eckerlin's avatar Joachim Eckerlin
Browse files

Add newer mailcatcher version

parent 5f885d71
Pipeline #22936 passed with stage
in 1 minute and 25 seconds
......@@ -6,7 +6,7 @@ services:
stages:
- build
build:
build06:
stage: build
only:
refs:
......@@ -14,3 +14,10 @@ build:
script:
- /bin/sh build.sh 0.6.5
build07:
stage: build
only:
refs:
- master
script:
- /bin/sh build.sh 0.7 latest
FROM alpine:3.7
ENV VERSION 0.7.1
ENV HTTP_PORT 1080
ENV SMTP_PORT 1025
RUN apk add --update ruby ruby-dev ruby-bigdecimal sqlite sqlite-dev build-base libstdc++ ca-certificates && \
gem install json --no-ri --no-rdoc && \
gem install mailcatcher -v $VERSION --no-ri --no-rdoc && \
apk del --purge ruby-dev build-base && \
rm -rf /var/cache/apk/*
CMD mailcatcher -f --ip=0.0.0.0 --smtp-port=$SMTP_PORT --http-port=$HTTP_PORT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment