Fix Dockerfile to properly configure source repositories
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 3m43s
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 3m43s
- Use .sources format instead of sources.list - Add both deb and deb-src types to enable apt source command - This fixes the CI build failure where apt source ostree was failing
This commit is contained in:
parent
7a21dda165
commit
fc33022c9e
1 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,13 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ENV LANG=C.UTF-8
|
ENV LANG=C.UTF-8
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
|
|
||||||
|
# Add source repositories
|
||||||
|
RUN echo "Types: deb deb-src" > /etc/apt/sources.list.d/debian.sources && \
|
||||||
|
echo "URIs: http://deb.debian.org/debian" >> /etc/apt/sources.list.d/debian.sources && \
|
||||||
|
echo "Suites: unstable" >> /etc/apt/sources.list.d/debian.sources && \
|
||||||
|
echo "Components: main" >> /etc/apt/sources.list.d/debian.sources && \
|
||||||
|
echo "Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg" >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
|
||||||
# Install build dependencies for OSTree
|
# Install build dependencies for OSTree
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y \
|
apt install -y \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue