From 63c336039b4fac8eeb34e7d1fb3bc6e1b4ed425d Mon Sep 17 00:00:00 2001 From: Gereon Frey Date: Sun, 24 Feb 2019 14:14:20 +0100 Subject: [PATCH] Use debian instead of alpine This is related to issues with iconv on alpine linux (see [1]). I noticed that the content file `tipuesearch_content.json` didn't contain the sanitized text, but only the boolean `false`. I tracked it down to the `iconv` call. After migration to the debian docker image it is working fine. Build was started using `docker run --rm -it -w /build -v "$PWD":/build daux/daux.io daux generate`. [1] https://github.com/docker-library/php/issues/428 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a0696b..b829e2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM composer:1.7.2 AS composer -FROM php:7-alpine +FROM php:7-stretch -RUN apk info && apk add --no-cache unzip icu-dev +RUN apt-get update && apt-get install -y libicu-dev git unzip RUN docker-php-ext-configure intl \ && docker-php-ext-install intl