wantedly/config-scripts — pull request #2 by dtan4 (2014-11-25 08:20:03+00:00)
Title: Add script to set Japanese locale

Added a script to set Japanese locale for container.

## Usage

```shell
locale-ja.sh
```

## Example in Dockerfile

```dockerfile
FROM quay.io/wantedly/ruby:2.1

ADD .
RUN ./locale.sh

ENV LANG ja_JP.UTF-8
ENV LANGUAGE ja_JP:ja
ENV LC_ALL ja_JP.UTF-8
ENV LC_CTYPE ja_JP.UTF-8
```

## Problem

We have to write ENV sentences in Dockerfile because environments variables declared in ShellScript are not set permanently in the container.