From 04caa2eb53e8f265d942c4b5326a80adbea2b67c Mon Sep 17 00:00:00 2001 From: Elex Date: Mon, 6 Mar 2023 01:59:29 +0900 Subject: [PATCH] 2023-03-06 01:59:29 --- src/cgi/Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/cgi/Dockerfile b/src/cgi/Dockerfile index f5098f1..0f276e5 100644 --- a/src/cgi/Dockerfile +++ b/src/cgi/Dockerfile @@ -2,10 +2,20 @@ FROM nginx:latest RUN apt-get clean && \ apt-get update && \ -apt-get install -y spawn-fcgi fcgiwrap wget curl cpanminus build-essential +apt-get install -y spawn-fcgi fcgiwrap wget curl cpanminus build-essential libmariadb-dev + +RUN localedef -i ko_KR -c -f UTF-8 -A /usr/share/locale/locale.alias ko_KR.UTF-8 + +ENV LANG ko_KR.UTF-8 RUN cpanm JSON +RUN cpanm DBI + +RUN cpanm DBD::SQLite + +RUN cpanm DBD::MariaDB + RUN sed -i 's/www-data/nginx/g' /etc/init.d/fcgiwrap RUN chown nginx:nginx /etc/init.d/fcgiwrap