Last active
August 29, 2015 14:03
-
-
Save vivahiraj/8acadc1365bca54f3051 to your computer and use it in GitHub Desktop.
CentOSの日本語環境対応のDockerfileです。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:latest | |
MAINTAINER vivahiraj | |
RUN yum -y install vi | |
RUN echo 'ZONE="Asia/Tokyo"' > /etc/sysconfig/clock | |
RUN cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | |
RUN yum groupinstall -y japanese-support | |
RUN echo 'LANG="ja_JP.UTF-8"' > /etc/sysconfig/i18n | |
RUN echo 'LC_CTYPE="ja_JP.utf8"' >> /etc/sysconfig/i18n | |
RUN yum reinstall -y glibc-common | |
RUN yum reinstall -y glibc | |
ENV LANG ja_JP.utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment