First commit

This commit is contained in:
Myve 2024-08-09 12:50:33 +00:00
commit 7b58f82156
21 changed files with 1951 additions and 0 deletions

31
build/Dockerfile.ubuntu Normal file
View file

@ -0,0 +1,31 @@
# 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"]