bazel: provide semi-hermetic python toolchain (#1753)

The actual python version used in bazel is hermetic after this PR.
However, we still require a host python toolchain for bootstrapping (this will be fixed soon upstream) and host wide glibc (+ libcrypt.so.1).
This commit is contained in:
Malte Poll 2023-05-22 09:10:41 +02:00 committed by GitHub
parent 87b9d85669
commit ab257944f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 0 deletions

View file

@ -16,6 +16,8 @@ RUN chmod +x /usr/local/bin/bazelisk && \
dnf install -y \
git \
diffutils \
libxcrypt-compat \
python3 \
&& \
dnf clean all && \
groupadd --gid 1000 builder && \