Make the source repo stuff work for newer format apt files
All checks were successful
ci/woodpecker/push/base-os Pipeline was successful

This commit is contained in:
Ryan Voots 2023-09-30 11:54:00 -04:00
parent a1f4dc4987
commit 1f6ef2929d

View file

@ -4,8 +4,9 @@ LABEL maintainer="Ryan Voots <simcop@cpan.org>"
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN perl -i.bak -pE '$x=$_; $x=~s|^deb |deb-src |g;$_.=$x' /etc/apt/sources.list.d/* /etc/apt/sources.list \ RUN perl -i.bak -pE '$x=$_; $x=~s|^deb |deb-src |g;$_.=$x' /etc/apt/sources.list.d/*.list /etc/apt/sources.list; \
&& apt update \ perl -pE 's/Types: deb/Types: deb-src/g' < /etc/apt/sources.list.d/debian.sources > /etc/apt/sources.list.d/debian-src.sources; \
apt update \
&& apt -yq full-upgrade \ && apt -yq full-upgrade \
&& apt -yq build-dep perl \ && apt -yq build-dep perl \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \