add option to build against non-default python3 package

This commit is contained in:
ANTodorov authored and Philippe Teuwen committed 2024-11-14 09:01:41 +01:00
1 parent 4a119a73f0
commit f3e9a79ca4
5 files changed
+20 -9

No files matched your search

+3 -3
View File
@@ -2,14 +2,14 @@ FROM opensuse/leap
ENV LANG=C
# libqt5-qtbase-devel skipped
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel liblz4-devel bluez-devel python3-devel libopenssl-devel gd-devel
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel liblz4-devel bluez-devel python311-devel libopenssl-devel gd-devel
RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/15.6/home:wkazubski.repo && \
zypper --gpg-auto-import-keys refresh && \
zypper --non-interactive install cross-arm-none-eabi-gcc13 cross-arm-none-eabi-newlib
RUN zypper --non-interactive install cmake python3 python3-pip && \
python3 -m pip install ansicolors sslcrypto
RUN zypper --non-interactive install cmake python311 python311-pip && \
python3.11 -m pip install ansicolors sslcrypto
RUN zypper --non-interactive install ocl-icd-devel