0
0
mirror of https://github.com/python-LimeReport/containers.git synced 2024-12-24 00:33:05 +03:00
containers/pyside_builder_manylinux_2_28_x86_64/Dockerfile

33 lines
968 B
Docker
Raw Normal View History

2023-08-19 11:43:38 +03:00
FROM amd64/almalinux:8 as env
RUN yum -y update \
&& yum -y groupinstall 'Development Tools' \
&& yum -y install \
wget \
openssl-devel \
bzip2-devel \
libffi-devel \
cmake \
clang \
clang-devel \
llvm \
llvm-devel \
mesa-libGL-devel \
2023-08-28 12:02:17 +03:00
pulseaudio-libs-glib2 \
2023-08-19 11:43:38 +03:00
&& dnf --enablerepo=powertools -y install ninja-build \
&& yum clean all \
&& rm -rf /var/cache/yum
COPY ./scripts/install_python.sh ./scripts/install_pipx.sh ./scripts/install_qt.sh /
2023-08-28 12:02:17 +03:00
ARG PYTHON_VERSION=3.9
2023-08-19 11:43:38 +03:00
RUN /install_python.sh && rm -f /install_python.sh
RUN /install_pipx.sh && rm -f /install_pipx.sh
2023-08-28 12:02:17 +03:00
ARG AQTINSTALL_VERSION=3.1.7
2023-08-19 11:43:38 +03:00
RUN pipx install aqtinstall==${AQTINSTALL_VERSION}
2023-08-28 12:02:17 +03:00
ENV PATH=/root/.local/bin:$PATH
ARG QT_VERSION=6.4.2
2023-08-19 11:43:38 +03:00
RUN /install_qt.sh && rm -f /install_qt.sh
ENV PATH="/opt/Qt/${QT_VERSION}/gcc_64/bin:$PATH"
2023-08-28 12:02:17 +03:00
ENV QT_VERSION=${QT_VERSION}
ENV PYTHON_VERSION=${PYTHON_VERSION}