From 7f14704ba3c03ae2a2da89a19b133ab0254ba2ea Mon Sep 17 00:00:00 2001 From: Nicolas Collard Date: Thu, 7 Apr 2016 15:07:34 +0200 Subject: [PATCH] Force v0.5.12 to avoid to crash on UTF-8 characters --- mailcatcher/Dockerfile | 2 +- mailcatcher/install.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mailcatcher/Dockerfile b/mailcatcher/Dockerfile index 257f5a9..15d52ca 100644 --- a/mailcatcher/Dockerfile +++ b/mailcatcher/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:wheezy +FROM ruby:2.2 MAINTAINER Johannes Schickling "schickling.j@gmail.com" ADD install.sh install.sh diff --git a/mailcatcher/install.sh b/mailcatcher/install.sh index f910aaa..13876e5 100644 --- a/mailcatcher/install.sh +++ b/mailcatcher/install.sh @@ -3,13 +3,13 @@ # exit if a command fails set -e -# install ruby 1.9.1 -apt-get update && apt-get install -y ruby ruby-dev build-essential sqlite3 libsqlite3-dev +# install dependencies +apt-get update && apt-get install -y build-essential sqlite3 libsqlite3-dev # install mailcatcher -gem install mailcatcher --no-ri --no-rdoc +gem install mailcatcher -v 0.5.12 --no-ri --no-rdoc # cleanup package manager -apt-get remove --purge -y build-essential ruby-dev libsqlite3-dev && apt-get autoclean && apt-get clean +apt-get remove --purge -y build-essential libsqlite3-dev && apt-get autoclean && apt-get clean rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*