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
2024-03-17 15:34:36 +03:00

35 lines
982 B
Docker

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 \
pulseaudio-libs-glib2 \
&& dnf --enablerepo=powertools -y install ninja-build \
&& yum clean all \
&& rm -rf /var/cache/yum
COPY ./scripts/install_python.sh /
ARG PYTHON_VERSION=3.9
RUN /install_python.sh && rm -f /install_python.sh
COPY ./scripts/install_pipx.sh /
RUN /install_pipx.sh && rm -f /install_pipx.sh
ARG AQTINSTALL_VERSION=3.1.7
RUN pipx install aqtinstall==${AQTINSTALL_VERSION}
ENV PATH=/root/.local/bin:$PATH
ARG QT_VERSION=6.4.2
COPY ./scripts/install_qt.sh /
RUN /install_qt.sh && rm -f /install_qt.sh
ENV PATH="/opt/Qt/${QT_VERSION}/gcc_64/bin:$PATH"
ENV QT_VERSION=${QT_VERSION}
ENV PYTHON_VERSION=${PYTHON_VERSION}