Docker build: Cloning remote repository instead of copying build context

Görkem Gök
2 min readJan 10, 2021
“Docker-2” by maijou2501 is licensed under CC BY-SA 2.0

Understanding build context

Build context is the files and the directories under the PATH or URL which the Dockerfile is in.

Build context is the files that are used by Dockerfile to create the image. It can be a PATH or a URL. Dockerfile should be in the build context. It is not possible to use…

--

--

Görkem Gök

Developer | Software Craftsmanship Enthusiast | Physicist