Skip to content

Commit

Permalink
INIT: adding first Dockerfile to set up basic Debian 10 slim image
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Behringer committed Feb 10, 2020
1 parent 96abe53 commit 5365a46
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*.code-workspace
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:10-slim

LABEL description "Simple mailserver in a mono Docker image" \
maintainer "behringer24 <abe@activecube.de"

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y -q --no-install-recommends \
postfix postfix-mysql \
dovecot-core dovecot-imapd dovecot-mysql dovecot-pop3d \
&& rm -rf /var/spool/postfix \
&& ln -s /var/mail/postfix/spool /var/spool/postfix \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/cache/debconf/*-old

EXPOSE 25 143 465 587 993 4190 11334

0 comments on commit 5365a46

Please sign in to comment.