Skip to content

Commit

Permalink
Make locales work for the docker container.
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Jul 31, 2017
1 parent eac2409 commit 4d204db
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions nix/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@ in pkgs.dockerTools.buildImage {
tag = "latest";

contents = [
main
pkgs.coreutils
pkgs.bash
main pkgs.coreutils pkgs.bash pkgs.gnugrep pkgs.glibcLocales
];

config = {
Cmd = ["${main}/bin/zn"];
WorkingDir = "/work";

Environment = {
"LANG" = "en_US.UTF-8";
};
Env = [
"LANG=en_US.UTF-8"
"LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale/locale-archive"
];

Volumes = {
"/work" = {};
Expand Down

0 comments on commit 4d204db

Please sign in to comment.