Skip to content

Commit

Permalink
Merge pull request #4 from rigoucr/feature/fix-iconv
Browse files Browse the repository at this point in the history
Fixed iconv lib
  • Loading branch information
kporras07 committed Nov 14, 2018
2 parents e80dd05 + 95d91dd commit 1d076f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ RUN go get github.com/mailhog/mhsendmail
RUN cp /root/go/bin/mhsendmail /usr/bin/mhsendmail
COPY ./php.ini /usr/local/etc/php/conf.d/docker-php.ini

# Fix iconv lib
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing gnu-libiconv
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php

# Cleanup
RUN rm -rf /tmp/* \
&& rm -rf /var/cache/apk/* \
Expand Down

0 comments on commit 1d076f1

Please sign in to comment.