diff --git a/t/tap-tests-docker/Dockerfile b/t/tap-tests-docker/Dockerfile index e359971..276d752 100644 --- a/t/tap-tests-docker/Dockerfile +++ b/t/tap-tests-docker/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-jessie:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2018-01-04 +ENV REFRESHED_AT 2018-01-05 RUN echo "# generated by Dockerfile from jenkins-tap-test-jessie at $(date)\n\ deb https://deb.sipwise.com/autobuild/ internal-jessie main\n" > /etc/apt/sources.list.d/sipwise-internal.list @@ -33,7 +33,10 @@ rm -rf /tmp/zzz COPY t/tap-tests-docker/perlcriticrc /root/.perlcriticrc -RUN echo 'SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history +# Set LC_ALL, otherwise shellcheck before v0.4.7 fails: +# source/somefile: hGetContents: invalid argument (invalid byte sequence) +# https://github.com/koalaman/shellcheck/issues/324 +RUN echo 'LC_ALL=C.UTF-8 SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history WORKDIR /code/ @@ -52,6 +55,6 @@ WORKDIR /code/ # % docker run --rm -i -t -v $(pwd):/code/source:rw docker.mgm.sipwise.com/jenkins-tap-test-jessie:latest bash # # Inside docker (the command is in history, just press UP button): -# SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher +# LC_ALL=C.UTF-8 SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher # ################################################################################