Skip to content

Instantly share code, notes, and snippets.

@gh640
Created June 20, 2021 13:19
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 gh640/85fe58e312faf381294a5871827d84bc to your computer and use it in GitHub Desktop.
Save gh640/85fe58e312faf381294a5871827d84bc to your computer and use it in GitHub Desktop.
サンプル: Debian 10 (buster) で言語設定を UTF-8 で日本語にする
FROM debian:buster
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
locales && \
rm -rf /var/lib/apt/lists/*
RUN localedef -f UTF-8 -i ja_JP ja_JP.UTF-8
ENV LANG="ja_JP.UTF-8" \
LANGUAGE="ja_JP:ja" \
LC_ALL="ja_JP.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment