Commit 80396350 authored by Alessio Caiazza's avatar Alessio Caiazza

Merge branch '1845_fix_artifacts_upload_failure_on_docker' into 'master'

Add /etc/nsswitch.conf to helper on docker executor to read /etc/hosts when upload artifacts

See merge request gitlab-org/gitlab-runner!951
parents 99472a8f 3c20747d
Pipeline #27017704 passed with stages
in 27 minutes and 7 seconds
......@@ -5,3 +5,5 @@ RUN apk add --update bash ca-certificates git miniperl \
COPY ./scripts/ /usr/bin
COPY ./binaries/gitlab-runner-helper.arm /usr/bin/gitlab-runner-helper
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
......@@ -7,3 +7,5 @@ RUN git lfs install
COPY ./scripts/ /usr/bin
COPY ./binaries/gitlab-runner-helper.x86_64 /usr/bin/gitlab-runner-helper
RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment