From 4029a2020318d4d3115315bc223cf4e1c49fd8a5 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Wed, 21 Aug 2024 23:09:49 +0200 Subject: [PATCH] Dockerfile: Migrate to Noble and make it more readable with heredocs, using way less layers and cleaning up apt --- Dockerfile | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index a0bd33bf..fb1a2dc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,39 +1,49 @@ ARG BASE_OS=ubuntu -ARG BASE_CODENAME=jammy +ARG BASE_CODENAME=noble FROM $BASE_OS:$BASE_CODENAME AS build-stage # Download build dependencies -RUN apt-get update && apt-get install -y --no-install-recommends \ - gcc librsvg2-bin linux-headers-generic python3-dev python3-setuptools - +RUN <