From d7c24c44f6005b802510faa553d8313518a70afb Mon Sep 17 00:00:00 2001 From: Simon Wiles Date: Sun, 13 Mar 2022 12:47:37 -0700 Subject: [PATCH] Set a `UTF-8` locale in `Dockerfile` (#122) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 524460d0..fd3c9d36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ FROM ${BROWSER_IMAGE_BASE}:${BROWSER_VERSION} AS browser FROM ubuntu:bionic +# http://bugs.python.org/issue19846 +# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. +ENV LANG C.UTF-8 + RUN apt-get update -y && apt-get install --no-install-recommends -qqy software-properties-common \ && add-apt-repository -y ppa:deadsnakes \ && apt-get update -y \