Make the source repo stuff work for newer format apt files
All checks were successful
ci/woodpecker/push/base-os Pipeline was successful
All checks were successful
ci/woodpecker/push/base-os Pipeline was successful
This commit is contained in:
parent
a1f4dc4987
commit
1f6ef2929d
1 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue