Update Dockerfile

This commit is contained in:
Christoffer Martinsson 2024-04-13 19:55:38 +02:00
parent 069b452b0c
commit 5c08565178

View File

@ -2,7 +2,14 @@ FROM ubuntu:22.04
# Update the system, install OpenSSH Server, and set up users
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y openssh-server git sudo udev software-properties-common
apt-get install -y openssh-server git sudo udev software-properties-common locales
# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Create user and set password for user and root user
ARG CODE_PASSWORD