-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 'host' network in deb container builds
The --network argument was added to 'docker build' in Docker 1.13 in 2017 and behaves like the --net argument to 'docker run'. We're already using --net=host during the actual deb build and during all of the RPM containers. The change here is to also use host networking during the build phase. The intent here is to support more self-contained building scenarios where a repository may be on localhost.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters