Skip to content

Commit

Permalink
locals changed from korean style to english style
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebamus committed Jun 28, 2020
1 parent d9785db commit 3e2e792
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
17 changes: 12 additions & 5 deletions docker/gunicorn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,18 @@ RUN pip3 install virtualenv
RUN pip3 install django

# Set the locale
RUN apt-get install -y locales language-pack-ko
RUN locale-gen ko_KR.UTF-8
ENV LANG ko_KR.UTF-8
ENV LANGUAGE ko_KR:kr
ENV LC_ALL ko_KR.UTF-8
# RUN apt-get install -y locales language-pack-ko
# RUN locale-gen ko_KR.UTF-8
# ENV LANG ko_KR.UTF-8
# ENV LANGUAGE ko_KR:kr
# ENV LC_ALL ko_KR.UTF-8

ENV OS_LOCALE="en_US.utf8" \
DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y locales && locale-gen ${OS_LOCALE}
ENV LANG=${OS_LOCALE} \
LANGUAGE=${OS_LOCALE} \
LC_ALL=${OS_LOCALE}

RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD run.sh /tmp/run.sh
Expand Down
17 changes: 12 additions & 5 deletions docker/uwsgi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,18 @@ RUN pip3 install virtualenv
RUN pip3 install django

# Set the locale
RUN apt-get install -y locales language-pack-ko
RUN locale-gen ko_KR.UTF-8
ENV LANG ko_KR.UTF-8
ENV LANGUAGE ko_KR:kr
ENV LC_ALL ko_KR.UTF-8
# RUN apt-get install -y locales language-pack-ko
# RUN locale-gen ko_KR.UTF-8
# ENV LANG ko_KR.UTF-8
# ENV LANGUAGE ko_KR:kr
# ENV LC_ALL ko_KR.UTF-8

ENV OS_LOCALE="en_US.utf8" \
DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y locales && locale-gen ${OS_LOCALE}
ENV LANG=${OS_LOCALE} \
LANGUAGE=${OS_LOCALE} \
LC_ALL=${OS_LOCALE}

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

0 comments on commit 3e2e792

Please sign in to comment.