tests/docker: squash initial update and install step for debian9
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Feb 2019 11:18:36 +0000 (11:18 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 22 Feb 2019 09:32:20 +0000 (09:32 +0000)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/docker/dockerfiles/debian9.docker

index 154ae2a4552f94d3691ea87e75a534bb29e3f685..5f23a35404f24607722569eabb944d887327aec3 100644 (file)
@@ -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 \