From 503114fcbaedfd4f51311cd2e5e28ca2ac8c94b4 Mon Sep 17 00:00:00 2001 From: Balthazar Rouberol Date: Fri, 14 Jun 2019 13:44:59 +0200 Subject: [PATCH] Fix iconv/musl This PR adds 2 instructions to the Docker image build, making sure that `iconv` is setup properly. This fixes https://github.com/wallabag/wallabag/issues/4011 For more context about the actual underlying issue that this fixes, you can read up * https://github.com/docker-library/php/issues/240 * https://github.com/docker-library/php/issues/428 Kind regards --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index f90d57f..b1bc6c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ LABEL maintainer "Marvin Steadfast " ARG WALLABAG_VERSION=2.3.8 +RUN apk add gnu-libiconv --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ --allow-untrusted +ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php + RUN set -ex \ && apk update \ && apk upgrade --available \