Skip to content

Commit 1b2f691

Browse files
authored
Update Dockerfile
1 parent c495287 commit 1b2f691

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ USER root
44
RUN apt-get update -y && apt-get install -y curl xz-utils sudo openssh-server
55
RUN apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
66
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
7-
ENV LANG en_US.utf8
7+
ENV LANG "en_US.UTF-8"
88
RUN useradd -m uniqueding
99
RUN echo " uniqueding ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
1010

@@ -19,6 +19,8 @@ USER uniqueding
1919

2020
RUN mkdir -p /home/uniqueding/.config /home/uniqueding/.local/share /home/uniqueding/.cache
2121
ENV USER "uniqueding"
22+
ENV LC_ALL "en_US.UTF-8"
23+
ENV LANG "en_US.UTF-8"
2224
ENV PATH "/home/uniqueding/.nix-profile/bin:/home/uniqueding/.local/bin:${PATH}"
2325
RUN curl https://mirrors.tuna.tsinghua.edu.cn/nix/latest/install | sh
2426
RUN nix-env -iA nixpkgs.home-manager

0 commit comments

Comments
 (0)