Files
xwindow-korean/Dockerfile.test

36 lines
919 B
Docker

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