mirror of
https://git.myvelabs.com/docker/myvemailbackup.git
synced 2025-12-17 22:56:18 +00:00
28 lines
790 B
Docker
28 lines
790 B
Docker
# 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"]
|