Update Dockerfile

This commit is contained in:
Christoffer Martinsson 2024-04-13 20:11:00 +02:00
parent 5c08565178
commit 5579051c51

View File

@ -5,11 +5,11 @@ RUN apt-get update && apt-get upgrade -y && \
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 && \
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LC_ALL en_US.UTF-8
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