set locale, nvm added

This commit is contained in:
bumpsoo 2025-02-13 14:56:21 +00:00
parent 29228057f6
commit 5cf5b7df6b

View file

@ -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"]