Set a UTF-8 locale for Danger

This commit is contained in:
Adrien Kohlbecker 2019-08-27 12:35:32 +00:00 committed by Stan Hu
parent 8c8101920d
commit e2f9674612

View file

@ -1,6 +1,11 @@
FROM ruby:2.6-stretch
MAINTAINER GitLab Quality Team
# Danger manipulates git diff output. When an unicode char is present in the diff, it chokes with
# (Danger::DSLError) [!] Invalid `Dangerfile` file: invalid byte sequence in US-ASCII
# eg. https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/275286625
ENV LC_ALL "C.UTF-8"
ADD /scripts/ /scripts/
RUN apt-get update \