Skip to content

Commit

Permalink
Add build dependencies of python3-apt
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Nov 5, 2023
1 parent 4ddca4c commit e6c77af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive

ADD dependencies.apt.txt ./

RUN printf "deb-src http://deb.debian.org/debian bullseye main\ndeb-src http://deb.debian.org/debian-security/ bullseye-security main\ndeb-src http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list

RUN apt-get update && \
xargs apt-get install --no-install-recommends -y < dependencies.apt.txt && \
apt-get --no-install-recommends -y build-dep python3-apt && \
apt-get clean && \
rmdir /var/cache/apt/archives/partial

Expand Down

0 comments on commit e6c77af

Please sign in to comment.