From b7d1fb97b44e371d5da0d0c782456fb37cd39645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Mon, 23 Feb 2026 13:34:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20[docker]=20MNG=20=EC=BB=A8=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=84=88=EC=97=90=20Pretendard=20=ED=8F=B0=ED=8A=B8?= =?UTF-8?q?=20=EC=84=A4=EC=B9=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LibreOffice Word→PDF 변환 시 Pretendard 폰트 인식을 위해 설치 - wget으로 GitHub 릴리즈에서 OTF 폰트 9개 weight 다운로드 - fc-cache 갱신으로 시스템 폰트로 등록 --- sam/docker/mng/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sam/docker/mng/Dockerfile b/sam/docker/mng/Dockerfile index c436fb7..f19b269 100755 --- a/sam/docker/mng/Dockerfile +++ b/sam/docker/mng/Dockerfile @@ -15,8 +15,14 @@ RUN apt-get update && apt-get install -y \ libreoffice-writer-nogui \ fonts-nanum fonts-nanum-extra \ ffmpeg \ + wget \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install zip mysqli pdo pdo_mysql intl soap gd \ + # Pretendard 폰트 설치 (Word→PDF 변환 시 한글 폰트 지원) + && mkdir -p /usr/share/fonts/truetype/pretendard \ + && wget -q "https://github.com/orioncactus/pretendard/releases/download/v1.3.9/Pretendard-1.3.9.zip" -O /tmp/pretendard.zip \ + && unzip -jo /tmp/pretendard.zip "*/Pretendard-*.otf" -d /usr/share/fonts/truetype/pretendard/ \ + && rm -f /tmp/pretendard.zip \ && fc-cache -f # Composer 설치