mirror of
https://github.com/python-LimeReport/containers.git
synced 2024-12-23 16:23:00 +03:00
35 lines
982 B
Docker
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
|
|
ENV QT_VERSION=${QT_VERSION}
|
|
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 PYTHON_VERSION=${PYTHON_VERSION} |