Skip to content

Instantly share code, notes, and snippets.

@denvazh
Created January 6, 2015 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denvazh/84791ef06c87a1b14b85 to your computer and use it in GitHub Desktop.
Save denvazh/84791ef06c87a1b14b85 to your computer and use it in GitHub Desktop.
Forcing japanese locale for Scala docker container
FROM williamyeh/scala
RUN \
echo "ja_JP.UTF-8 UTF-8" >> /etc/locale.gen && \
dpkg-reconfigure -f noninteractive locales
ENV LANG ja_JP.UTF-8
ENV LANGUAGE ja_JP.UTF-8
ENV LC_ALL ja_JP.UTF-8
@denvazh
Copy link
Author

denvazh commented Jan 6, 2015

How to use

  • Copy dockerfile
  • In the directory with it run
    docker build -t %sometag% .

This will create docker image one can use in case there are issues with locales.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment