Skip to content

Commit 3e2e792

Browse files
committed
locals changed from korean style to english style
1 parent d9785db commit 3e2e792

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

docker/gunicorn/Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,18 @@ RUN pip3 install virtualenv
5454
RUN pip3 install django
5555

5656
# Set the locale
57-
RUN apt-get install -y locales language-pack-ko
58-
RUN locale-gen ko_KR.UTF-8
59-
ENV LANG ko_KR.UTF-8
60-
ENV LANGUAGE ko_KR:kr
61-
ENV LC_ALL ko_KR.UTF-8
57+
# RUN apt-get install -y locales language-pack-ko
58+
# RUN locale-gen ko_KR.UTF-8
59+
# ENV LANG ko_KR.UTF-8
60+
# ENV LANGUAGE ko_KR:kr
61+
# ENV LC_ALL ko_KR.UTF-8
62+
63+
ENV OS_LOCALE="en_US.utf8" \
64+
DEBIAN_FRONTEND=noninteractive
65+
RUN apt-get update && apt-get install -y locales && locale-gen ${OS_LOCALE}
66+
ENV LANG=${OS_LOCALE} \
67+
LANGUAGE=${OS_LOCALE} \
68+
LC_ALL=${OS_LOCALE}
6269

6370
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6471
ADD run.sh /tmp/run.sh

docker/uwsgi/Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,18 @@ RUN pip3 install virtualenv
5454
RUN pip3 install django
5555

5656
# Set the locale
57-
RUN apt-get install -y locales language-pack-ko
58-
RUN locale-gen ko_KR.UTF-8
59-
ENV LANG ko_KR.UTF-8
60-
ENV LANGUAGE ko_KR:kr
61-
ENV LC_ALL ko_KR.UTF-8
57+
# RUN apt-get install -y locales language-pack-ko
58+
# RUN locale-gen ko_KR.UTF-8
59+
# ENV LANG ko_KR.UTF-8
60+
# ENV LANGUAGE ko_KR:kr
61+
# ENV LC_ALL ko_KR.UTF-8
62+
63+
ENV OS_LOCALE="en_US.utf8" \
64+
DEBIAN_FRONTEND=noninteractive
65+
RUN apt-get update && apt-get install -y locales && locale-gen ${OS_LOCALE}
66+
ENV LANG=${OS_LOCALE} \
67+
LANGUAGE=${OS_LOCALE} \
68+
LC_ALL=${OS_LOCALE}
6269

6370
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6471
ADD run.sh /tmp/run.sh

0 commit comments

Comments
 (0)