golang

Using go Dependencies from private repositories

Lutz Behnke
Building Docker images (using Gitlab CI) There some tutorials out there how to retrieve prviate dependencies for use in docker files like this Blog Post by Jeff Wenzbauer. But all those I have seen require additional credentials to be created, maintained and injected. This makes using them either insecure or very cumbersome. It think there is a simpler way by preparing a vendor directory and copying that into the builder image.