[PATCH] docker: Use host networking

Samuel Mendoza-Jonas sam at mendozajonas.com
Wed Aug 15 10:36:02 AEST 2018


On Wed, 2018-08-08 at 11:08 +1000, Samuel Mendoza-Jonas wrote:
> Use the host driver by default to simplify networking for build-builder,
> especially when DNS settings need to be inherited from the host.
> 
> Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>

Merged as 06179e62

> ---
>  docker/build-builder | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/docker/build-builder b/docker/build-builder
> index c29e032a..8dcfba82 100755
> --- a/docker/build-builder
> +++ b/docker/build-builder
> @@ -123,6 +123,7 @@ run_cmd "docker build \
>  	--build-arg http_proxy=${http_proxy} \
>  	--build-arg https_proxy=${https_proxy} \
>  	--tag ${DOCKER_TAG} \
> +	--network=host \
>  	."
>  
>  show_tag




More information about the Petitboot mailing list