myvemailbackup/build/Dockerfile

28 lines
790 B
Text
Raw Normal View History

2024-12-19 20:27:46 +00:00
# syntax = docker/dockerfile:1
FROM alpine:edge
# LABEL about the custom image
LABEL description="MyveMail Backup"
# Copy required files folders
ADD run/docker-entrypoint /docker-entrypoint/
ADD run/installer.sh /tmp/
# Update Ubuntu Software repository and install requisites
RUN printf '%s\n' 'https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/' \
'https://dl-cdn.alpinelinux.org/alpine/latest-stable/community/' >/etc/apk/repositories \
&& apk update \
&& apk upgrade \
&& apk add --no-cache \
bash bash-completion ncurses \
ca-certificates openssl \
postfix \
# Installer
&& /tmp/installer.sh \
&& rm /tmp/installer.sh
# Expose ports
EXPOSE 25
# Entrypoint hd-wallet-derive script
CMD ["/docker-entrypoint/entrypoint.sh"]