Skip to content

Instantly share code, notes, and snippets.

@vivahiraj
Last active August 29, 2015 14:03
Show Gist options
  • Save vivahiraj/8acadc1365bca54f3051 to your computer and use it in GitHub Desktop.
Save vivahiraj/8acadc1365bca54f3051 to your computer and use it in GitHub Desktop.
CentOSの日本語環境対応のDockerfileです。
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