Skip to content

Commit

Permalink
setup en_US.UTF-8 locale
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 10, 2024
1 parent 0e466db commit 106f47c
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ ARG USER=coder
ARG USER_ID=30033
ARG GROUP_ID=30033

RUN apt-get install -y sudo unzip git
RUN apt-get install -y sudo unzip git locales

RUN locale-gen en_US.UTF-8

RUN addgroup --gid $GROUP_ID ${USER} \
&& useradd --groups sudo --no-create-home --shell /bin/bash ${USER} --uid ${USER_ID} --gid ${GROUP_ID} \
Expand Down
4 changes: 3 additions & 1 deletion devbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN rm -f packages.microsoft.gpg
RUN apt-get install -y apt-transport-https \
&& apt-get update \
&& apt-get install -y \
code sudo direnv unzip
code sudo direnv unzip locales

RUN locale-gen en_US.UTF-8

ARG USER=coder
ARG USER_ID=30033
Expand Down
4 changes: 3 additions & 1 deletion devenv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN rm -f packages.microsoft.gpg
RUN apt-get install -y apt-transport-https \
&& apt-get update \
&& apt-get install -y \
code sudo direnv unzip
code sudo direnv unzip locales

RUN locale-gen en_US.UTF-8

RUN curl --proto =https --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm
ENV PATH=${PATH}:/nix/var/nix/profiles/default/bin
Expand Down
4 changes: 3 additions & 1 deletion flox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN rm -f packages.microsoft.gpg
RUN apt-get install -y apt-transport-https \
&& apt-get update \
&& apt-get install -y \
code sudo direnv unzip
code sudo direnv unzip locales

RUN locale-gen en_US.UTF-8

RUN curl --proto =https --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm
ENV PATH=${PATH}:/nix/var/nix/profiles/default/bin
Expand Down
4 changes: 3 additions & 1 deletion homebrew/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN rm -f packages.microsoft.gpg
RUN apt-get install -y apt-transport-https \
&& apt-get update \
&& apt-get install -y \
code sudo
code sudo locales

RUN locale-gen en_US.UTF-8

ARG USER=coder
ARG USER_ID=30033
Expand Down
4 changes: 3 additions & 1 deletion nix/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ RUN rm -f packages.microsoft.gpg
RUN apt-get install -y apt-transport-https \
&& apt-get update \
&& apt-get install -y \
code sudo unzip
code sudo unzip locales

RUN locale-gen en_US.UTF-8

RUN curl --proto =https --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm
ENV PATH=${PATH}:/nix/var/nix/profiles/default/bin
Expand Down
4 changes: 3 additions & 1 deletion pkgx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ ARG USER=coder
ARG USER_ID=30033
ARG GROUP_ID=30033

RUN apt-get install -y sudo unzip git
RUN apt-get install -y sudo unzip git locales

RUN locale-gen en_US.UTF-8

RUN addgroup --gid $GROUP_ID ${USER} \
&& useradd --groups sudo --no-create-home --shell /bin/bash ${USER} --uid ${USER_ID} --gid ${GROUP_ID} \
Expand Down

0 comments on commit 106f47c

Please sign in to comment.