From 9375de392175023b3b59a96ca9cf0e75b2c564e6 Mon Sep 17 00:00:00 2001 From: Benjamin Deleze Date: Mon, 26 Jun 2023 15:01:48 +0200 Subject: [PATCH] Fix warnings --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d6ef927..53916c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ FROM ${BASE_IMAGE} ENV DEBIAN_FRONTEND=noninteractive # Install Webots runtime dependencies -RUN apt-get update && apt-get install --yes wget xvfb && rm -rf /var/lib/apt/lists/ && \ +RUN apt-get update && apt-get install --yes wget xvfb locales && rm -rf /var/lib/apt/lists/ && \ wget https://raw.githubusercontent.com/cyberbotics/webots/master/scripts/install/linux_runtime_dependencies.sh && \ chmod +x linux_runtime_dependencies.sh && ./linux_runtime_dependencies.sh && rm ./linux_runtime_dependencies.sh && rm -rf /var/lib/apt/lists/ @@ -32,5 +32,12 @@ ENV PATH /usr/local/webots:${PATH} # Enable OpenGL capabilities ENV NVIDIA_DRIVER_CAPABILITIES graphics,compute,utility +# Set a user name to fix a warning +ENV USER root + +# Set the locales +RUN locale-gen en_US.UTF-8 +ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' + # Finally open a bash command to let the user interact CMD ["/bin/bash"]