Dockerfile 수정: --fix-missing 옵션 추가 및 npm 재시도 로직 개선

This commit is contained in:
2025-08-31 21:01:55 +09:00
parent 4053784651
commit 75ce1a9f5d

View File

@@ -2,6 +2,7 @@ FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
# locale gen
@@ -15,7 +16,7 @@ RUN sed -i 's/^# *ko_KR.UTF-8 UTF-8/ko_KR.UTF-8 UTF-8/' /etc/locale.gen && local
# install modules
RUN apt-get install -y dbus-x11 x11-xserver-utils xfce4 xfce4-goodies xorgxrdp xrdp tumbler \
ibus ibus-gtk3 fcitx5-hangul fcitx5-config-qt fcitx5-frontend-gtk3 fcitx5-frontend-gtk4 fcitx5-frontend-qt5 fonts-noto-cjk iputils-ping \
sudo nano vim net-tools chromium git curl npm \
sudo nano vim net-tools chromium git curl npm --fix-missing \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# install vscode
@@ -24,7 +25,7 @@ RUN curl -q -L -o vscode.deb https://update.code.visualstudio.com/1.103.2/linux-
&& rm -rf ./vscode.deb /etc/apt/sources.list.d/vscode.sources
# install claude code cli
RUN npm install -g @anthropic-ai/claude-code
RUN npm install -g @anthropic-ai/claude-code --retry 3 --retry-delay 5000
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh