Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Alex Bennée
Daniel P. Berrangé writes: > On Tue, Jan 19, 2021 at 03:40:50PM +0100, Philippe Mathieu-Daudé wrote: >> On 1/19/21 3:20 PM, Daniel P. Berrangé wrote: >> > On Tue, Jan 19, 2021 at 02:40:13PM +0100, Philippe Mathieu-Daudé wrote: >> >> On 1/19/21 12:27 PM, Alex Bennée wrote: >> >>> Philippe Mathie

Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Daniel P . Berrangé
On Tue, Jan 19, 2021 at 03:40:50PM +0100, Philippe Mathieu-Daudé wrote: > On 1/19/21 3:20 PM, Daniel P. Berrangé wrote: > > On Tue, Jan 19, 2021 at 02:40:13PM +0100, Philippe Mathieu-Daudé wrote: > >> On 1/19/21 12:27 PM, Alex Bennée wrote: > >>> Philippe Mathieu-Daudé writes: > >>> > When us

Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Philippe Mathieu-Daudé
On 1/19/21 3:20 PM, Daniel P. Berrangé wrote: > On Tue, Jan 19, 2021 at 02:40:13PM +0100, Philippe Mathieu-Daudé wrote: >> On 1/19/21 12:27 PM, Alex Bennée wrote: >>> Philippe Mathieu-Daudé writes: >>> When using the Docker engine, build fails because the container is unable to resolve h

Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Daniel P . Berrangé
On Tue, Jan 19, 2021 at 02:40:13PM +0100, Philippe Mathieu-Daudé wrote: > On 1/19/21 12:27 PM, Alex Bennée wrote: > > Philippe Mathieu-Daudé writes: > > > >> When using the Docker engine, build fails because the container is > >> unable to resolve hostnames: > >> > >> $ make docker-image-debian

Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Philippe Mathieu-Daudé
On 1/19/21 12:27 PM, Alex Bennée wrote: > Philippe Mathieu-Daudé writes: > >> When using the Docker engine, build fails because the container is >> unable to resolve hostnames: >> >> $ make docker-image-debian-s390x-cross NETWORK=host ENGINE=docker >> BUILD debian10 >> #6 9.679 Err:1 ht

Re: [RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-19 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > When using the Docker engine, build fails because the container is > unable to resolve hostnames: > > $ make docker-image-debian-s390x-cross NETWORK=host ENGINE=docker > BUILD debian10 > #6 9.679 Err:1 http://deb.debian.org/debian buster InRelease >

[RFC PATCH] tests/docker: Allow passing --network option when building images

2021-01-18 Thread Philippe Mathieu-Daudé
When using the Docker engine, build fails because the container is unable to resolve hostnames: $ make docker-image-debian-s390x-cross NETWORK=host ENGINE=docker BUILD debian10 #6 9.679 Err:1 http://deb.debian.org/debian buster InRelease #6 9.679 Temporary failure resolving 'deb.debi