Skip to content

Commit

Permalink
Merge pull request #14 from etalab/add_iconv
Browse files Browse the repository at this point in the history
fix install iconv
  • Loading branch information
l-vincent-l authored May 24, 2019
2 parents 4eb4ac0 + 77a849d commit 38f43e9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions transport-site/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 38f43e9

Please sign in to comment.