-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests and add builddeps of python3-apt to Dockerfile #392
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 && \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels a bit weird to install the build-deps from apt, but then install the package via pip. I guess that's fine because it makes the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed it too, that pip modules are getting installed twice one by apt then by pip. Not sure what to do there. |
||
apt-get clean && \ | ||
rmdir /var/cache/apt/archives/partial | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might try a patch to generate this based on the existing lines of
/etc/apt/sources.list
but this will work!