From 5de5468b46b50001997e7dd5904f5d2bc1e2a3db Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 26 Jun 2022 15:11:32 +0200 Subject: fix(docker): Update alpine image and php packages Build is broken without this. Signed-off-by: Florian Pritz --- Dockerfile | 6 +++--- 1 file 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 -- cgit v1.2.3-24-g4f1b