docker build supports --network option (note, this is different from docker run's --net option).
Request extending docker-compose yaml spec to include the following:
build:
context: .
network: host
Thanks.
This is a really useful feature. Specially for Ruby environments. With this option one can use Gemstash to cache the gems.
Duplicate of #4095
This is a really useful feature. Specially for Ruby environments. With this option one can use Gemstash to cache the gems.
Also for "RUN npm install --registry http://my-private-registry-inside-network" instruction with private npm registry.
+1
I would like this our environment as well. We have some services are that required during the build process, that should be linked to the building containers for abstraction.
Most helpful comment
Duplicate of #4095