forked from hardware/postfixadmin
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update postfixadmin 3.3.4, update alpine:3.13 and php8 (#9)
* update to alpine:3.13 and php8 * update postfixadmin to 3.3.4 * install new dependency: php8-pdo, php8-pdo_pgsql and php8-pdo_mysql * temporary workaround for doveadm pw reading server.key. See also postfixadmin/postfixadmin#398. * run upgrade.php at start * Update HASH lenght check. The HASH generated by setup.php is now 60 characters long.
- Loading branch information
1 parent
a5cabda
commit ec0f9e7
Showing
4 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
FROM alpine:3.12 | ||
FROM alpine:3.13 | ||
|
||
LABEL description="PostfixAdmin is a web based interface used to manage mailboxes" \ | ||
maintainer="Hardware <[email protected]>" | ||
|
||
ARG VERSION=3.2.4 | ||
ARG SHA256_HASH="f61a64b32052c46f40cba466e5e384de0efab8c343c91569bcc5ebfd3694811e" | ||
ARG VERSION=3.3.4 | ||
ARG SHA256_HASH="8720ab6945d6526abffb18e8c5cb0f33a4fe884aa03749d55f0707e45f92b7eb" | ||
|
||
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 \ | ||
php8 \ | ||
php8-fpm \ | ||
php8-imap \ | ||
php8-mbstring \ | ||
php8-mysqli \ | ||
php8-pdo \ | ||
php8-pdo_mysql \ | ||
php8-pdo_pgsql \ | ||
php8-pgsql \ | ||
php8-phar \ | ||
php8-session \ | ||
; \ | ||
\ | ||
PFA_TARBALL="postfixadmin-${VERSION}.tar.gz"; \ | ||
|
@@ -28,7 +31,8 @@ RUN set -eux; \ | |
\ | ||
mkdir /postfixadmin; \ | ||
tar -xzf ${PFA_TARBALL} --strip-components=1 -C /postfixadmin; \ | ||
rm -f ${PFA_TARBALL} | ||
rm -f ${PFA_TARBALL}; \ | ||
chmod 644 /etc/ssl/dovecot/server.key | ||
|
||
COPY bin /usr/local/bin | ||
RUN chmod +x /usr/local/bin/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters