Skip to content

Commit 9bc7728

Browse files
authored
Set LANG=C.UTF-8 (#485)
1 parent 76498bf commit 9bc7728

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@ ENV RUNNER_MANUALLY_TRAP_SIG=
4949
# disable the log by default, because it is too large
5050
ENV ACTIONS_RUNNER_PRINT_LOG_TO_STDOUT=
5151

52+
# Align to GitHub-hosted runners (ubuntu-latest)
53+
ENV LANG=C.UTF-8
54+
5255
ENTRYPOINT ["/usr/bin/docker-init", "--", "/entrypoint.sh"]
5356
CMD ["/home/runner/run.sh"]

Dockerfile.ubuntu20

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ VOLUME /var/lib/docker
7676
# https://github.com/actions/runner-images/issues/345
7777
ENV ImageOS=ubuntu20
7878

79+
# Align to GitHub-hosted runners (ubuntu-latest)
80+
ENV LANG=C.UTF-8
81+
7982
USER runner
8083
ENTRYPOINT ["/usr/bin/docker-init", "--", "/entrypoint.sh"]
8184
CMD ["/home/runner/run.sh"]

0 commit comments

Comments
 (0)