First commit

This commit is contained in:
Myve 2024-12-19 20:27:46 +00:00
commit cd1be5abe2
6 changed files with 423 additions and 0 deletions

28
build/Dockerfile Normal file
View file

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