From 615b9903fad1ab71cbc0154f43ceb6e060b3ff85 Mon Sep 17 00:00:00 2001 From: Chirag Shilwant <115738422+cshilwant@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:40:34 +0530 Subject: [PATCH] demo_baseline: Update Dockerfile - Combine the RUN layer so as to reduce the number of layers in the docker image. Signed-off-by: Chirag Shilwant --- demo_baseline/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/demo_baseline/Dockerfile b/demo_baseline/Dockerfile index c504ab0..dce01ef 100644 --- a/demo_baseline/Dockerfile +++ b/demo_baseline/Dockerfile @@ -1,11 +1,7 @@ ARG BASE_DISTRO=arm64v8/debian:stable-slim - FROM $BASE_DISTRO - LABEL org.opencontainers.image.source https://github.com/TexasInstruments/seva-adocker/demo_baseline - -RUN export DEBIAN_FRONTEND=noninteractive; apt-get update -RUN export DEBIAN_FRONTEND=noninteractive; \ +RUN export DEBIAN_FRONTEND=noninteractive; apt-get update && \ apt-get install -y --no-install-recommends git \ qt5-qmake qtbase5-dev qtwayland5 qtscript5-dev \ libqt5svg5-dev build-essential ca-certificates