Replacing Dockerfile registry references in Go vendor directory

46 Views Asked by At

I've got a Go project that contains several vendored directories that (in some cases) contain Dockerfiles that reference docker.io registries.

This worked well, until security compliance scans and new corporate requirements banned third party registries anywhere in the codebase, including the vendor directory.

We need these dependencies and can mirror any third party images, but I'm not sure of the proper way to exclude and replace the docker.io references in vendored Dockerfiles.

Anyone have insight or some documentation I can catch up on?

0

There are 0 best solutions below