Skip to content

Commit

Permalink
Merge pull request #9 from frecuencialibre/pythonencoding
Browse files Browse the repository at this point in the history
Set UTF-8 python character encoding Fixes #8
  • Loading branch information
ned-kelly authored Oct 13, 2018
2 parents 4a7d99b + 03c1a17 commit 4818a6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ RUN sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list && \

## Locals need to be configured or the media monitor dies in the ass...
RUN locale-gen "en_US.UTF-8" && \
dpkg-reconfigure locales && \
echo -e "LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8" >> /etc/default/locale

ENV PYTHONIOENCODING UTF-8
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8

RUN apt-get install -y php7.0-curl php7.0-pgsql apache2 libapache2-mod-php7.0 php7.0 php-pear php7.0-gd php-bcmath php-mbstring

# Pull down libretime sources
Expand Down

0 comments on commit 4818a6a

Please sign in to comment.