cmake: Fix opensuse python ci

This commit is contained in:
Corentin Le Molgat
2023-08-17 18:07:08 +02:00
parent 7c8d37a1b5
commit 274206345e

View File

@@ -1,8 +1,10 @@
FROM ortools/cmake:opensuse_swig AS env
ENV PATH=/root/.local/bin:$PATH
RUN zypper refresh \
&& zypper install -y python3 python3-pip python3-devel \
&& zypper install -y python311 python311-devel \
python311-pip python311-wheel python311-virtualenv \
&& zypper clean -a
RUN python3.11 -m pip install --break-system-packages absl-py mypy-protobuf
FROM env AS devel
WORKDIR /home/project