diff --git a/Dockerfile b/Dockerfile index a55f135..89b6ec0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,34 +1,34 @@ FROM alpine:3.12 LABEL description="PostfixAdmin is a web based interface used to manage mailboxes" \ - maintainer="Hardware " + maintainer="Hardware " ARG VERSION=3.2.4 ARG SHA256_HASH="f61a64b32052c46f40cba466e5e384de0efab8c343c91569bcc5ebfd3694811e" RUN set -eux; \ - apk add --no-cache \ - su-exec \ - dovecot \ - tini \ - \ - php7 \ - php7-fpm \ - php7-imap \ - php7-mbstring \ - php7-mysqli \ - php7-pgsql \ - php7-phar \ - php7-session \ - ; \ - \ - PFA_TARBALL="postfixadmin-${VERSION}.tar.gz"; \ - wget -q https://github.com/postfixadmin/postfixadmin/archive/${PFA_TARBALL}; \ - echo "${SHA256_HASH} *${PFA_TARBALL}" | sha256sum -c; \ - \ - mkdir /postfixadmin; \ - tar -xzf ${PFA_TARBALL} --strip-components=1 -C /postfixadmin; \ - rm -f ${PFA_TARBALL} + apk add --no-cache \ + su-exec \ + dovecot \ + tini \ + \ + php7 \ + php7-fpm \ + php7-imap \ + php7-mbstring \ + php7-mysqli \ + php7-pgsql \ + php7-phar \ + php7-session \ + ; \ + \ + PFA_TARBALL="postfixadmin-${VERSION}.tar.gz"; \ + wget -q https://github.com/postfixadmin/postfixadmin/archive/${PFA_TARBALL}; \ + echo "${SHA256_HASH} *${PFA_TARBALL}" | sha256sum -c; \ + \ + mkdir /postfixadmin; \ + tar -xzf ${PFA_TARBALL} --strip-components=1 -C /postfixadmin; \ + rm -f ${PFA_TARBALL} COPY bin /usr/local/bin RUN chmod +x /usr/local/bin/*