From 403f2cb5cbeab0bd4f67d6b94ca0db39c5fd013e Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sun, 17 Oct 2021 03:31:57 +0200 Subject: [PATCH] ci: dockerfile: apply apt-get best-practices --- integration-tests/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/integration-tests/Dockerfile b/integration-tests/Dockerfile index 23d4096..c4c9ae0 100644 --- a/integration-tests/Dockerfile +++ b/integration-tests/Dockerfile @@ -2,9 +2,13 @@ ARG ubuntu_version=20.04 FROM ubuntu:${ubuntu_version} -RUN apt-get update --yes - -RUN apt-get install --yes systemd curl git sudo +RUN apt-get update \ + && apt-get install --yes \ + systemd \ + curl \ + git \ + sudo \ + && rm -rf /var/lib/apt/lists/* # Kill all the things we don't need RUN find /etc/systemd/system \