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

32 lines
913 B
Docker
Raw Normal View History

2024-03-21 17:38:21 +03:00
ARG BUILD_TARGET=x86_64
2023-08-20 08:45:07 +03:00
2024-03-21 17:38:21 +03:00
FROM quay.io/pypa/manylinux_2_28_${BUILD_TARGET} as env
2023-08-20 08:45:07 +03:00
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 \
2024-03-21 17:38:21 +03:00
pulseaudio-libs-glib2 \
libxkbcommon \
2023-08-20 08:45:07 +03:00
&& yum clean all \
&& rm -rf /var/cache/yum
2024-06-10 10:46:52 +03:00
ARG AQTINSTALL_VERSION=3.1.15
2024-03-21 17:38:21 +03:00
ARG QT_VERSION=6.4.2
2023-08-20 08:45:07 +03:00
RUN pipx install aqtinstall==${AQTINSTALL_VERSION} \
2024-03-21 17:38:21 +03:00
&& aqt install-qt --outputdir /opt/Qt linux desktop ${QT_VERSION} \
&& find /opt/Qt/${QT_VERSION}/gcc_64 -mindepth 1 -maxdepth 1 ! -name '.' ! -name '..' -exec mv {} /opt/Qt/${QT_VERSION}/ \; \
&& rmdir /opt/Qt/${QT_VERSION}/gcc_64 || true
2023-08-20 08:45:07 +03:00
2024-03-21 17:38:21 +03:00
ENV PATH="/opt/Qt/${QT_VERSION}/bin:$PATH"
2023-08-20 08:45:07 +03:00
ENV QT_VERSION=${QT_VERSION}