#LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""
-# Install for mailcatcher gem
-RUN apt update && apt install -y libsqlite3-dev \
- && gem install mailcatcher && rm -rf /var/lib/apt/lists/*
-
# Remove the code added on base image
RUN rm -rf /var/www/*
apt update &&\
apt install -y google-chrome-stable firefox-esr &&\
npm install -g eslint babel-eslint
+
+# Install & Configure MailHog (https://github.com/mailhog/MailHog)
+RUN wget -qO /tmp/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.1/MailHog_linux_amd64\
+ && echo "e2ed634ded49929f089b20045581955ed217672078fd86082dd7a6c67c5d09c7 /tmp/mailhog" | sha256sum -c -\
+ && mv /tmp/mailhog /usr/local/bin/mailhog\
+ && chmod +x /usr/local/bin/mailhog