Remove debian bookworm from apt's sources list
What does this MR do?
This PR changes the installation of pip3 in the dockerfile from using apt-get to python.
This is because I had a weird issue (discussed here) that when installing pip3 using apt, one of the dependencies I receive is python3.11.
Since the entire dockerfile is dependent that only python 3.10 is installed - this caused my docker build to fail.
This PR changes the apt sources.list to disregard the debian bookworm apt mirror.
The docker image is based on ubuntu 22.04 (cat /etc/issue
).
The debian mirror is referencing python3@3.11 and causes the issue.
- The commands in images above were executed inside the
registry.gitlab.com/security-products/dast:5.4.0
docker, which is the base image in the dockerfile.
What are the relevant issue numbers?
GitLab Docs MR
Edited by Yuval Siev