Golang Dockerfile for Project with Private Dependencies using HTTPS (without SSH)

Noval Agung Prayogo
Level Up Coding
Published in
4 min readFeb 24, 2023

--

Photo by Masaaki Komori on Unsplash

Dockerizing Golang application with private dependencies/modules requires additional effort, and during the initial setup sometimes it can be tricky.

Even though we are able to pull private dependencies easily on our local/host environment, it doesn’t mean that it will automatically work too on the docker build because it is…

--

--

💻 CTO @ KangarooHealth (Stanford StartX) / ⚒️ Top 3% StackOverflow user / 🎓 Udemy instructor, FOSS contributor