Debian bookworm 사용 및 NodeSource에서 Node.js 설치로 변경하여 node-isexe 문제 해결

This commit is contained in:
2025-08-31 21:24:53 +09:00
parent 9598c9dce1
commit 3ff9d2ddb0
2 changed files with 47 additions and 5 deletions

35
Dockerfile.test Normal file
View File

@@ -0,0 +1,35 @@
FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
# 한국 Debian 미러 소스로 변경
RUN echo "deb http://ftp.kr.debian.org/debian trixie main" > /etc/apt/sources.list && \
echo "deb http://ftp.kr.debian.org/debian trixie-updates main" >> /etc/apt/sources.list && \
echo "deb http://ftp.kr.debian.org/debian-security trixie-security main" >> /etc/apt/sources.list
RUN apt-get update
# 기본 패키지만 설치 (빠른 테스트용)
RUN apt-get install -y \
locales \
xfce4 \
xfce4-goodies \
xorgxrdp \
xrdp \
--fix-missing \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# 한국어 설정
ENV TZ=Asia/Seoul
ENV LANG=ko_KR.UTF-8
ENV LANGUAGE=ko_KR:ko
ENV LC_ALL=ko_KR.UTF-8
RUN sed -i 's/^# *ko_KR.UTF-8 UTF-8/ko_KR.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen $LANG && \
update-locale LANG=$LANG
EXPOSE 3389
# 간단한 시작 명령
CMD ["/bin/bash"]