-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INIT: adding first Dockerfile to set up basic Debian 10 slim image
- Loading branch information
Andreas Behringer
committed
Feb 10, 2020
1 parent
96abe53
commit 5365a46
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/*.code-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |