Skip to content
Snippets Groups Projects
Unverified Commit 6775d9c2 authored by dtu-compute's avatar dtu-compute Committed by GitHub
Browse files

Fix to Ruby can parse Danish letters

parent 67f0e06f
Branches
No related tags found
No related merge requests found
......@@ -46,6 +46,11 @@ COPY get-pdf.sh /
COPY mod_caption.rb /
COPY run-server.sh /
# Needed for Ruby to parse Danish letters
RUN apt-get update && apt-get install -y locales locales-all
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
RUN dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
WORKDIR .
ENTRYPOINT ["/bin/bash", "-l", "-c", "/run-server.sh"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment