"Special Alpine Image", Artifacts & HostFiles

Keep in mind I'm tried to remove private information (host names & ip addresses)

I have a host file on OSX that has

git.suborg.mainorg.com x.x.x.x

I have a docker-compose.yml with an extra_hosts option that mirrors my hostfile

...
  gitlab-runner:
    image: "gitlab/gitlab-runner:latest"
    restart: always
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
      - "./gitlab-runner/config.toml:/etc/gitlab-runner/config.toml"
    extra_hosts:
      - "git.suborg.mainorg.com:x.x.x.x"
...

I've also updated my config.toml to include an extra_hosts config

concurrent = 1

[[runners]]
  name = "AMC_DOCKER_1"
  url = "http://git.suborg.mainorg.com/ci"
  token = "xxx"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "mhart/alpine-node:0.12"
    privileged = false
    disable_cache = false
    volumes = ["/cache"]
    extra_hosts = ["git.suborg.mainorg.com:x.x.x.x"]
  [runners.cache]
    Insecure = false
...

When my build runs I get the following...

gitlab-ci-multi-runner 1.1.4 (9e2fd1a)
Using Docker executor with image mhart/alpine-node:0.12 ...
Pulling docker image mhart/alpine-node:0.12 ...

Running on runner-69fe74d2-project-151-concurrent-0 via 614cd70cb97e...
Fetching changes...
HEAD is now at ff620bd updating build file
Checking out ff620bde as master...
HEAD is now at ff620bd... updating build file

$ ./trigger.sh
TRIGGER

Uploading artifacts...
data/: found 8 matching files                      
ERROR: Uploading artifacts to coordinator... error couldn't execute POST against http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: Post http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: dial tcp: lookup git.suborg.mainorg.com on 10.0.2.3:53: no such host  id=19 token=xxxx
WARNING: Retrying...                               
ERROR: Uploading artifacts to coordinator... error couldn't execute POST against http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: Post http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: dial tcp: lookup git.suborg.mainorg.com on 10.0.2.3:53: no such host  id=19 token=xxxx
WARNING: Retrying...                               
ERROR: Uploading artifacts to coordinator... error couldn't execute POST against http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: Post http://git.suborg.mainorg.com/ci/api/v1/builds/19/artifacts: dial tcp: lookup git.suborg.mainorg.com on 10.0.2.3:53: no such host  id=19 token=xxxx
FATAL: invalid argument                            

ERROR: Build failed: exit code 1

You mention in https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/executors/docker.md

That the post build step is run on a "Special Alpine Image". When my build goes to push artifacts to "git.suborg.mainorg.com" the DNS server is coming up "so such host". Is there a way to provide 'extra-hosts' to this "Special Alpine Image"? I've tried updating the DNS on my gitlab-runner container to another container running dnsmasq with the correct address rule. But I dont think the "Special Alpine Image" is configured to use my DNS container.

Thoughts would be appricated.