From 77a849dd9e79b50a455ac80256de3a5124b8ee39 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 24 May 2019 16:40:38 +0200 Subject: [PATCH] fix install iconv --- transport-site/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/transport-site/Dockerfile b/transport-site/Dockerfile index f02199f..6319785 100644 --- a/transport-site/Dockerfile +++ b/transport-site/Dockerfile @@ -1,15 +1,14 @@ FROM elixir:1.8-alpine -RUN apk add nodejs-npm curl yarn bash -RUN apk add build-base +RUN apk add nodejs-npm curl yarn bash build-base wget libtool # Install app dependencies RUN mix local.hex --force RUN mix local.rebar --force - -RUN apk add wget RUN wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz RUN tar -xf libiconv-1.16.tar.gz -RUN cd libiconv-1.16 && ./configure --prefix=/usr/local && make && make install +RUN cd libiconv-1.16 && ./configure --prefix= && make && make install +RUN libtool --finish /lib RUN rm libiconv-1.16.tar.gz +RUN rm -r libiconv-1.16