mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 00:06:19 +00:00
First commit
This commit is contained in:
commit
7b58f82156
21 changed files with 1951 additions and 0 deletions
34
build/Dockerfile.alpine
Normal file
34
build/Dockerfile.alpine
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# syntax = docker/dockerfile:1
|
||||
FROM alpine:edge
|
||||
|
||||
# LABEL about the custom image
|
||||
LABEL description="MyveMail"
|
||||
|
||||
# Env files (differs between distros)
|
||||
ENV MYVEMAIL_NGINX_USERGROUP=nginx
|
||||
ENV MYVEMAIL_OPENDKIM_CONF=/etc/opendkim/opendkim.conf
|
||||
ENV MYVEMAIL_OPENDMARC_CONF=/etc/opendmarc/opendmarc.conf
|
||||
|
||||
# Copy required files folders
|
||||
ADD run/bin /usr/local/bin/
|
||||
ADD run/docker-entrypoint /docker-entrypoint/
|
||||
COPY run/installer-alpine.sh /tmp/installer.sh
|
||||
|
||||
# Update Ubuntu Software repository and install requisites
|
||||
RUN printf '%s\n' 'https://dl-cdn.alpinelinux.org/alpine/edge/main/' \
|
||||
'https://dl-cdn.alpinelinux.org/alpine/edge/community/' >/etc/apk/repositories \
|
||||
&& apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add --no-cache \
|
||||
bash bash-completion ncurses \
|
||||
&& /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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue