From b3779b72fc4776fedc4818331470e0f99972f81c Mon Sep 17 00:00:00 2001 From: Chirag Shilwant <115738422+cshilwant@users.noreply.github.com> Date: Sat, 13 Jan 2024 13:43:50 +0530 Subject: [PATCH] ubuntu-distro: Update Dockerfile - Clean up apt lists after installing all packages. Signed-off-by: Chirag Shilwant --- ubuntu-distro/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu-distro/Dockerfile b/ubuntu-distro/Dockerfile index c410114..bc85ef5 100644 --- a/ubuntu-distro/Dockerfile +++ b/ubuntu-distro/Dockerfile @@ -4,5 +4,6 @@ LABEL org.opencontainers.image.source https://github.com/cshilwant/docker-images RUN export DEBIAN_FRONTEND=noninteractive; apt-get update RUN export DEBIAN_FRONTEND=noninteractive; \ apt-get install -y --no-install-recommends file build-essential autoconf automake bison flex libssl-dev bc u-boot-tools swig python3 python3-pip wget nano device-tree-compiler python3-dev && \ - pip3 install jsonschema pyelftools PyYAML + pip3 install jsonschema pyelftools PyYAML && \ + rm -rf /var/lib/apt/lists/*