From 25c1e25d1afb122aecea61a66af5cad98eef62fc Mon Sep 17 00:00:00 2001 From: Lander Usategui Date: Tue, 26 Dec 2023 11:00:34 +0100 Subject: [PATCH] Fix base Dockerfile --- ade/docker-base/Dockerfile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/ade/docker-base/Dockerfile b/ade/docker-base/Dockerfile index d20defd..38b358c 100644 --- a/ade/docker-base/Dockerfile +++ b/ade/docker-base/Dockerfile @@ -3,22 +3,28 @@ FROM $OS_VERSION MAINTAINER Lander Usategui -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US.UTF-8 -ENV LC_ALL en_US.UTF-8 - ENV ROS_VERSION rolling WORKDIR /root/ros2_$ROS_VERSION +RUN apt-get update && \ + apt-get install -y \ + apt-utils \ + curl \ + locales \ + software-properties-common \ + tzdata \ + && rm -rf /var/lib/apt/lists/* + +RUN locale-gen en_US.UTF-8; dpkg-reconfigure -f noninteractive locales +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 + RUN apt-get update \ - && echo 'Etc/UTC' > /etc/timezone \ - && ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime \ && apt-get install -y \ firefox \ sudo \ - locales \ - tzdata \ libogre-1.12 \ htop \ stress-ng \