diff mbox series

[v1,5/8] tests/docker: squash initial update and install step for docker9

Message ID 20190220172811.10588-6-alex.bennee@linaro.org
State Superseded
Headers show
Series testing/next | expand

Commit Message

Alex Bennée Feb. 20, 2019, 5:28 p.m. UTC
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/docker/dockerfiles/debian9.docker | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.20.1

Comments

Paolo Bonzini Feb. 20, 2019, 6:04 p.m. UTC | #1
Typo in subject, should be debian9

Paolo "no this is not top posting"


On 20/02/19 18:28, Alex Bennée wrote:
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  tests/docker/dockerfiles/debian9.docker | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)

> 

> diff --git a/tests/docker/dockerfiles/debian9.docker b/tests/docker/dockerfiles/debian9.docker

> index 154ae2a455..5f23a35404 100644

> --- a/tests/docker/dockerfiles/debian9.docker

> +++ b/tests/docker/dockerfiles/debian9.docker

> @@ -13,8 +13,8 @@ FROM debian:stretch-slim

>  RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list

>  

>  # Install common build utilities

> -RUN apt update

> -RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata

> +RUN apt-get update && \

> +    DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata

>  RUN DEBIAN_FRONTEND=noninteractive eatmydata \

>      apt install -y --no-install-recommends \

>          bison \

>
diff mbox series

Patch

diff --git a/tests/docker/dockerfiles/debian9.docker b/tests/docker/dockerfiles/debian9.docker
index 154ae2a455..5f23a35404 100644
--- a/tests/docker/dockerfiles/debian9.docker
+++ b/tests/docker/dockerfiles/debian9.docker
@@ -13,8 +13,8 @@  FROM debian:stretch-slim
 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
 
 # Install common build utilities
-RUN apt update
-RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
+RUN apt-get update && \
+    DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
     apt install -y --no-install-recommends \
         bison \