2023-03-06 01:59:29
This commit is contained in:
@@ -2,10 +2,20 @@ FROM nginx:latest
|
|||||||
|
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
apt-get update && \
|
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 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 sed -i 's/www-data/nginx/g' /etc/init.d/fcgiwrap
|
||||||
|
|
||||||
RUN chown nginx:nginx /etc/init.d/fcgiwrap
|
RUN chown nginx:nginx /etc/init.d/fcgiwrap
|
||||||
|
|||||||
Reference in New Issue
Block a user