diff options
author | Florian Pritz <bluewind@xinu.at> | 2022-06-26 15:11:32 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2022-06-26 15:11:32 +0200 |
commit | 5de5468b46b50001997e7dd5904f5d2bc1e2a3db (patch) | |
tree | 2d81249865a7de9f8a190b224d1a2f26bdcd27df | |
parent | 70d70a07f55b04488652e6ac43bcfcf29d6eafd0 (diff) |
fix(docker): Update alpine image and php packages
Build is broken without this.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index b0b3dfc05..203c36ed3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM alpine:edge +FROM alpine:3 LABEL maintainer="sebastian@devunit.eu" -RUN apk add --no-cache bash php7 py-pygments py-pip imagemagick php7-gd nodejs composer php7-pdo_mysql php7-exif php7-ctype php7-session git php7-fileinfo msmtp +RUN apk add --no-cache bash php8 py-pygments py-pip imagemagick php8-gd nodejs composer php8-pdo_mysql php8-exif php8-ctype php8-session git php8-fileinfo msmtp php8-pgsql php8-phar php8-json RUN ln -sf /usr/bin/python3 /usr/bin/python ENV FILEBIN_HOME_DIR /var/lib/filebin @@ -14,7 +14,7 @@ RUN chown filebin: -R $FILEBIN_HOME_DIR RUN pip install ansi2html -RUN sed -i 's+.*sendmail_path =.*+sendmail_path = "/usr/bin/msmtp -C ${FILEBIN_HOME_DIR}/msmtprc --logfile ${FILEBIN_HOME_DIR}/msmtp.log -a filebinmail -t"+' /etc/php7/php.ini +RUN sed -i 's+.*sendmail_path =.*+sendmail_path = "/usr/bin/msmtp -C ${FILEBIN_HOME_DIR}/msmtprc --logfile ${FILEBIN_HOME_DIR}/msmtp.log -a filebinmail -t"+' /etc/php8/php.ini USER filebin |