We are currently running pip as root which will cause it to install into /root/.local cause it wants to do a user install Set the user-base in the gloabl config, /etc/pip.conf, so pip will both install there and subsequently look there if we invoke it from any other user. This makes pip install ofc require elevated permissions, as it will be writting into /usr/local from now on Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8763>
14 lines
279 B
Bash
14 lines
279 B
Bash
#! /bin/bash
|
|
|
|
set -eux
|
|
|
|
apt update -y && apt full-upgrade -y
|
|
apt install -y $(<./ci/docker/debian/deps.txt)
|
|
|
|
apt remove -y rustc cargo
|
|
|
|
bash ./ci/scripts/create-pip-config.sh
|
|
pip3 install --break-system-packages meson==1.7.2 hotdoc python-gitlab tomli junitparser
|
|
|
|
apt clean all
|