Quantcast
Channel: Resolving Go dependencies in Docker container - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Marc Guasch for Resolving Go dependencies in Docker container

If you only care about being able to go get your private repos from the docker container and do not mind to copy your id_rsa when building it, you can just add this to the beginning of your Dockerfile:...

View Article


Answer by eduncan911 for Resolving Go dependencies in Docker container

This isnt a Go question. It's a Docker and Security question. First off, it isnt ideal to build Go apps as part of the build. Typically you would build the binary locallly on ur machine targeting the...

View Article


Resolving Go dependencies in Docker container

I want to build my Go application during the Docker image build and set image entrypoint to built Go application. Problem is that my Go application is subpackage of the main package and uses some...

View Article
Browsing latest articles
Browse All 3 View Live