Skip to content

Commit

Permalink
Use debian instead of alpine
Browse files Browse the repository at this point in the history
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] docker-library/php#428
  • Loading branch information
gfrey committed Feb 24, 2019
1 parent 0c2032d commit 3e7f511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 3e7f511

Please sign in to comment.