Set the locale to utf-8

Helps programs to deal with non-ascii filenames
This commit is contained in:
David Coppit
2017-04-01 23:05:27 -04:00
parent 982026ee9c
commit 6630a0e57d

View File

@@ -39,4 +39,10 @@ RUN chmod +x /files/runas.sh
ADD mapids.sh /files/ ADD mapids.sh /files/
RUN chmod +x /files/mapids.sh RUN chmod +x /files/mapids.sh
# Set the locale, to help Python and the user's applications deal with files that have non-ASCII characters
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
CMD /files/mapids.sh "$UMAP" "$GMAP" && /files/start.sh CMD /files/mapids.sh "$UMAP" "$GMAP" && /files/start.sh