From 1693adc27c5d2489c8abf8eb6cba93611305f3b0 Mon Sep 17 00:00:00 2001 From: ivz hh Date: Sat, 29 Feb 2020 08:40:31 -0700 Subject: [PATCH] Prepare for wallabag 2.4 Problem: I try to build image for wallabag 2.4-dev as of Feb 29, 2020. The building fails due to two missing packages: * py-mysqldb * py-psycopg2 It seems these two packages are included in alpine:3.10, not yet in alpine:latest. After launching wallabag 2.4-dev, a zhihu page reports error and wallabag suggests to install php7-intl. Solution: * Fix alpine version to 3.10. The reason is also to avoid CVE-2019-5021 (alpine set root password to NULL). 3.10 is not affected. In case some users use tag 3.9 and happen to have 3.9.2, then they may be affected. * Add php7-intl to meet new requirement --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b1bc6c8..9fa5a78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.10 LABEL maintainer "Marvin Steadfast " @@ -43,6 +43,7 @@ RUN set -ex \ php7-sockets \ php7-xmlreader \ php7-tidy \ + php7-intl \ py-mysqldb \ py-psycopg2 \ py-simplejson \