mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 07:36:18 +00:00
31 lines
769 B
Text
31 lines
769 B
Text
|
|
# syntax = docker/dockerfile:1
|
||
|
|
FROM ubuntu:latest
|
||
|
|
|
||
|
|
# LABEL about the custom image
|
||
|
|
LABEL description="MyveMail"
|
||
|
|
|
||
|
|
# Disable Prompt During Packages Installation
|
||
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
||
|
|
|
||
|
|
# Env files (differs between distros)
|
||
|
|
ENV MYVEMAIL_NGINX_USERGROUP=www-data
|
||
|
|
ENV MYVEMAIL_OPENDKIM_CONF=/etc/opendkim.conf
|
||
|
|
ENV MYVEMAIL_OPENDMARC_CONF=/etc/opendmarc.conf
|
||
|
|
|
||
|
|
# Copy required files folders
|
||
|
|
ADD run/bin /usr/local/bin/
|
||
|
|
ADD run/docker-entrypoint /docker-entrypoint/
|
||
|
|
COPY run/installer-ubuntu.sh /tmp/installer.sh
|
||
|
|
|
||
|
|
# Update Ubuntu Software repository and install requisites
|
||
|
|
RUN /tmp/installer.sh \
|
||
|
|
&& rm /tmp/installer.sh
|
||
|
|
|
||
|
|
# Expose ports
|
||
|
|
EXPOSE 25
|
||
|
|
EXPOSE 80
|
||
|
|
EXPOSE 587
|
||
|
|
EXPOSE 143 993
|
||
|
|
|
||
|
|
# Entrypoint hd-wallet-derive script
|
||
|
|
CMD ["/docker-entrypoint/entrypoint.sh"]
|