Skip to content

Commit

Permalink
Updates: alpine:3.21, postfixadmin:3.3.14 (#18)
Browse files Browse the repository at this point in the history
* Updates: alpine:3.21, postfixadmin:3.3.14
* Fix calling php binary
  • Loading branch information
SaraSmiseth authored Dec 17, 2024
1 parent 4046911 commit a149fbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine:3.17
FROM alpine:3.21

LABEL description="PostfixAdmin is a web based interface used to manage mailboxes"

ARG VERSION=3.3.13
ARG PHP_VERSION=81
ARG SHA256_HASH="026c4f370656b96b6c9f62328e901b9416a6e56d1c4df86249995d661498947b"
ARG VERSION=3.3.14
ARG PHP_VERSION=84
ARG SHA256_HASH="bd48687431472dc1753513bdf38a498f6b913d3c04a8e4d6d2415d190760e5a3"

RUN set -eux; \
apk update && apk upgrade; \
Expand Down
4 changes: 2 additions & 2 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ cat > /postfixadmin/config.local.php <<EOF
EOF

# Upgrade
php /postfixadmin/public/upgrade.php
php84 /postfixadmin/public/upgrade.php
# RUN !
exec su-exec $UID:$GID php -S 0.0.0.0:8888 -t /postfixadmin/public
exec su-exec $UID:$GID php84 -S 0.0.0.0:8888 -t /postfixadmin/public

0 comments on commit a149fbd

Please sign in to comment.