mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
feature: docker: io: add UTF-8
This commit is contained in:
parent
56439d5ec2
commit
8db81f30dc
1 changed files with 15 additions and 2 deletions
|
|
@ -7,8 +7,10 @@ WORKDIR /usr/src/cloudcmd
|
|||
|
||||
COPY package.json /usr/src/cloudcmd/
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get upgrade && apt-get autoremove && \
|
||||
apt-get install -y netcat-openbsd mc iputils-ping vim neovim sudo && \
|
||||
apt-get install -y netcat-openbsd mc iputils-ping vim neovim sudo locales && \
|
||||
npm i wisdom nupdate version-io redrun superc8 \
|
||||
supertape madrun redlint putout renamify-cli runny redfork -g && \
|
||||
echo "> install bun" && \
|
||||
|
|
@ -35,7 +37,13 @@ RUN apt-get update && apt-get upgrade && apt-get autoremove && \
|
|||
echo "alias buni='bun i --no-save'" >> /etc/bash.bashrc && \
|
||||
echo "PS1='\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '" >> /etc/bash.bashrc && \
|
||||
echo "set editing-mode vi" >> /etc/inputrc && \
|
||||
echo "TAB: menu-complete" >> /etc/inputrc
|
||||
echo "TAB: menu-complete" >> /etc/inputrc && \
|
||||
echo "set UTF-8" && \
|
||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
|
||||
echo "ru_RU.UTF-8 UTF-8" >> /etc/locale.gen && \
|
||||
echo "uk_UA.UTF-8 UTF-8" >> /etc/locale.gen && \
|
||||
echo "es_ES.UTF-8 UTF-8" >> /etc/locale.gen && \
|
||||
locale-gen
|
||||
|
||||
COPY . /usr/src/cloudcmd
|
||||
|
||||
|
|
@ -46,6 +54,11 @@ ENV cloudcmd_terminal_path=gritty
|
|||
ENV cloudcmd_open=false
|
||||
ENV PATH=node_modules/.bin:$PATH
|
||||
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV LANGUAGE=en_US:en
|
||||
ENV LC_ALL=en_US.UTF-8
|
||||
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["/usr/src/cloudcmd/bin/cloudcmd.js"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue