Browse Source

Merge pull request #17 from Hito01/master

Force v0.5.12 to avoid to crash on UTF-8 characters
pull/18/head
Johannes Schickling 9 years ago
parent
commit
17acbc08b2
  1. 2
      mailcatcher/Dockerfile
  2. 8
      mailcatcher/install.sh

2
mailcatcher/Dockerfile

@ -1,4 +1,4 @@
FROM debian:wheezy
FROM ruby:2.2
MAINTAINER Johannes Schickling "schickling.j@gmail.com" MAINTAINER Johannes Schickling "schickling.j@gmail.com"
ADD install.sh install.sh ADD install.sh install.sh

8
mailcatcher/install.sh

@ -3,13 +3,13 @@
# exit if a command fails # exit if a command fails
set -e 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 # install mailcatcher
gem install mailcatcher --no-ri --no-rdoc
gem install mailcatcher -v 0.5.12 --no-ri --no-rdoc
# cleanup package manager # 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/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Loading…
Cancel
Save