From: Iker Pedrosa Date: Fri, 14 Jul 2023 09:39:33 +0000 (+0200) Subject: CI: update debian repos X-Git-Tag: 4.14.0-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0eeb9fbf282f939edb103b73ca448b96b6214eb;p=thirdparty%2Fshadow.git CI: update debian repos Latest debian version changed the location and format for the repos file. Signed-off-by: Iker Pedrosa --- diff --git a/share/containers/debian.dockerfile b/share/containers/debian.dockerfile index c58e42687..a9d5ba4bb 100644 --- a/share/containers/debian.dockerfile +++ b/share/containers/debian.dockerfile @@ -2,9 +2,8 @@ ARG OS_IMAGE="debian:latest" FROM "${OS_IMAGE}" AS build -RUN cat /etc/apt/sources.list -RUN sed -i '/deb-src/d' /etc/apt/sources.list \ - && sed -i '/^deb /p;s/ /-src /' /etc/apt/sources.list +RUN cat /etc/apt/sources.list.d/debian.sources +RUN sed -i 's/Types: deb/Types: deb deb-src/g' /etc/apt/sources.list.d/debian.sources RUN export DEBIAN_PRIORITY=critical \ && export DEBIAN_FRONTEND=noninteractive RUN apt-get update -y \