Skip to content

Use DOCKER_HOST if set in the build time

Vladimir Shushlin requested to merge vshushlin/fix-docker-host into main

What does this MR do?

When using unconventional docker host, e.g. colima DOCKER_HOST can be different from unix:///var/run/docker.sock.

This MR takes the $DOCKER_HOST into account in the setup_docker_context()

Why was this MR needed?

Fix local build

What's the best way to test this MR?

  1. use colima as docker provider, or change the default docker socket path
  2. run make runner-and-helper-bin-host before and after changes

What are the relevant issue numbers?

None

Merge request reports