1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00

Add Dockerfile (experimental)

- Does not build inside of Docker, just copies from local machine
This commit is contained in:
James Hillyerd
2014-05-19 23:09:37 -07:00
parent 88ae99abb0
commit 8f5ac7ba5b

32
Dockerfile Normal file
View File

@@ -0,0 +1,32 @@
# Docker build file for Inbucket, see https://www.docker.io/
# Inbucket website: http://inbucket.org/
FROM ubuntu:14.04
MAINTAINER James Hillyerd, @jameshillyerd
# To force the upgrade packages change REFRESHED_AT date, otherwise Docker
# will cache the old updates
ENV REFRESHED_AT 2014-05-19
# Update Ubuntu
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qy upgrade
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install Inbucket
ENV INBUCKET_HOME /opt/inbucket
ADD inbucket $INBUCKET_HOME/inbucket
ADD themes $INBUCKET_HOME/themes
ADD etc/unix-sample.conf $INBUCKET_HOME/inbucket.conf
# Volume for mail data
VOLUME /var/opt/inbucket
# SMTP, HTTP, POP3 ports
EXPOSE 25
EXPOSE 80
EXPOSE 110
# Start Inbucket
CMD $INBUCKET_HOME/inbucket $INBUCKET_HOME/inbucket.conf