set locale, nvm added
This commit is contained in:
parent
29228057f6
commit
5cf5b7df6b
1 changed files with 31 additions and 19 deletions
20
Dockerfile
20
Dockerfile
|
|
@ -1,6 +1,7 @@
|
|||
FROM debian:trixie
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
locales \
|
||||
git \
|
||||
neovim \
|
||||
man-db \
|
||||
|
|
@ -12,8 +13,9 @@ RUN apt-get update && apt-get install -y \
|
|||
tmux \
|
||||
curl \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
nodejs
|
||||
python3-venv
|
||||
|
||||
RUN locale-gen ko_KR.UTF-8
|
||||
|
||||
ARG UID
|
||||
ARG GID
|
||||
|
|
@ -38,8 +40,16 @@ ENV HOME=/home/${USERNAME}
|
|||
|
||||
USER ${USERNAME}
|
||||
|
||||
RUN python3 -m venv $HOME/py && $HOME/py/bin/pip install pyright
|
||||
RUN echo "export PATH=\"$HOME/py/bin:$PATH\"" >> $HOME/.bashrc
|
||||
RUN python3 -m venv $HOME/py \
|
||||
&& $HOME/py/bin/pip install pyright \
|
||||
&& echo "export PATH=\"$HOME/py/bin:$PATH\"" >> $HOME/.bashrc
|
||||
|
||||
ENV NVM_DIR=${HOME}/.nvm
|
||||
|
||||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash \
|
||||
&& . $NVM_DIR/nvm.sh \
|
||||
&& nvm install --lts \
|
||||
&& npm install -g typescript-language-server
|
||||
|
||||
COPY --chown=${USERNAME}:${GID} ${CONFIG_PREFIX}.gitconfig /home/${USERNAME}/.gitconfig
|
||||
|
||||
|
|
@ -47,5 +57,7 @@ COPY --chown=${USERNAME}:${GID} .config/nvim /home/${USERNAME}/.config/nvim
|
|||
|
||||
COPY --chown=${USERNAME}:${GID} .tmux.conf /home/${USERNAME}/.tmux.conf
|
||||
|
||||
RUN locale-gen ko_KR.UTF-8 && echo 'export LANG=ko_KR.UTF-8' >> ~/.bashrc
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue