Skip to content

Commit

Permalink
Set LOCALE_ARCHIVE in docker image
Browse files Browse the repository at this point in the history
To address #636
  • Loading branch information
srid committed Jul 22, 2021
1 parent dfdddee commit cbdaeee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- option to choose pretty printed JSON (default) or JSONL format (#612)
- `neuron gen`: Add `--pretty-urls` to remove `.html` suffix in generated URLs (#562)
- Supress colors if output is not a terminal with color support (#561)
- Fix unicode filenames being ignored in Docker image (#636)
- Performance improvements:
- Improve incremental generation performance (`-w`) (#522)
- Bug fixes
Expand Down
5 changes: 5 additions & 0 deletions docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ in
];

config = {
Env = [
# For i18n to work (with filenames, etc.)
"LANG=en_US.UTF-8"
"LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale/locale-archive"
];
WorkingDir = "/notes";
Volumes = {
"/notes" = { };
Expand Down

0 comments on commit cbdaeee

Please sign in to comment.