Skip to content

Commit

Permalink
Set UTF-8 locale in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Jul 12, 2024
1 parent 59d3ca7 commit 2fd1f88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ RUN strip dist-newstyle/build/x86_64-linux/ghc-9.6.3/leios-sim-0.1.0.0/x/leios/b

FROM ubuntu:22.04

# Set up locales
RUN apt-get update && \
apt-get install -y locales && \
rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8 && \
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

WORKDIR /app
EXPOSE 8091

Expand Down

0 comments on commit 2fd1f88

Please sign in to comment.