Skip to content

Commit 6450a2f

Browse files
committed
feature: docker: io: add UTF-8
1 parent 56439d5 commit 6450a2f

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

docker/Dockerfile.io

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ RUN apt-get update && apt-get upgrade && apt-get autoremove && \
3535
echo "alias buni='bun i --no-save'" >> /etc/bash.bashrc && \
3636
echo "PS1='\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '" >> /etc/bash.bashrc && \
3737
echo "set editing-mode vi" >> /etc/inputrc && \
38-
echo "TAB: menu-complete" >> /etc/inputrc
38+
echo "TAB: menu-complete" >> /etc/inputrc && \
39+
echo "set UTF-8" && \
40+
apt-get install -y locales && \
41+
locale-gen en_US.UTF-8 && \
42+
update-locale LANG=en_US.UTF-8
3943

4044
COPY . /usr/src/cloudcmd
4145

@@ -46,6 +50,11 @@ ENV cloudcmd_terminal_path=gritty
4650
ENV cloudcmd_open=false
4751
ENV PATH=node_modules/.bin:$PATH
4852

53+
ENV LANG=en_US.UTF-8
54+
ENV LANGUAGE=en_US:en
55+
ENV LC_ALL=en_US.UTF-8
56+
57+
4958
EXPOSE 8000
5059

5160
ENTRYPOINT ["/usr/src/cloudcmd/bin/cloudcmd.js"]

0 commit comments

Comments
 (0)