Skip to content

Commit

Permalink
Merge pull request #31 from cyberbotics/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
Benjamin Délèze committed Jun 26, 2023
2 parents c256296 + 27e0a49 commit 1c2818d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand All @@ -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"]

0 comments on commit 1c2818d

Please sign in to comment.