-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from etalab/add_iconv
fix install iconv
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |