diff --git a/Dockerfile.danger b/Dockerfile.danger index 19e143f..7a418a8 100644 --- a/Dockerfile.danger +++ b/Dockerfile.danger @@ -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 \