File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ WORKDIR /usr/src/cloudcmd
77
88COPY package.json / usr/ src/ cloudcmd/
99
10+ ENV DEBIAN_FRONTEND = noninteractive
11+
1012RUN apt- get update && apt- get upgrade && apt- get autoremove && \
11- apt- get install - y netcat- openbsd mc iputils- ping vim neovim sudo && \
13+ apt- get install - y netcat- openbsd mc iputils- ping vim neovim sudo locales && \
1214 npm i wisdom nupdate version- io redrun superc8 \
1315 supertape madrun redlint putout renamify- cli runny redfork - g && \
1416 echo " > install bun" && \
@@ -35,7 +37,13 @@ RUN apt-get update && apt-get upgrade && apt-get autoremove && \
3537 echo " alias buni='bun i --no-save'" >> / etc/ bash.bashrc && \
3638 echo " PS1='\0 33[01;32m\]\u @\h\[\0 33[00m\] :\[\0 33[01;34m\]\w\[\0 33[00m\]\$ '" >> / etc/ bash.bashrc && \
3739 echo " set editing-mode vi" >> / etc/ inputrc && \
38- echo " TAB: menu-complete" >> / etc/ inputrc
40+ echo " TAB: menu-complete" >> / etc/ inputrc && \
41+ echo " set UTF-8" && \
42+ echo " en_US.UTF-8 UTF-8" > / etc/ locale.gen && \
43+ echo " ru_RU.UTF-8 UTF-8" >> / etc/ locale.gen && \
44+ echo " uk_UA.UTF-8 UTF-8" >> / etc/ locale.gen && \
45+ echo " es_ES.UTF-8 UTF-8" >> / etc/ locale.gen && \
46+ locale- gen
3947
4048COPY . / usr/ src/ cloudcmd
4149
@@ -46,6 +54,11 @@ ENV cloudcmd_terminal_path=gritty
4654ENV cloudcmd_open= false
4755ENV PATH = node_modules/ .bin:$PATH
4856
57+ ENV LANG = en_US.UTF - 8
58+ ENV LANGUAGE = en_US:en
59+ ENV LC_ALL = en_US.UTF - 8
60+
61+
4962EXPOSE 8000
5063
5164ENTRYPOINT [" /usr/src/cloudcmd/bin/cloudcmd.js" ]
You can’t perform that action at this time.
0 commit comments