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

35 lines
982 B
Docker
Raw Permalink 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
2024-03-17 15:34:36 +03:00
COPY ./scripts/install_python.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
2024-03-17 15:34:36 +03:00
COPY ./scripts/install_pipx.sh /
2023-08-19 11:43:38 +03:00
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
2024-03-21 17:38:21 +03:00
ENV QT_VERSION=${QT_VERSION}
2024-03-17 15:34:36 +03:00
COPY ./scripts/install_qt.sh /
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 PYTHON_VERSION=${PYTHON_VERSION}