Files
qt6-migration-pipeline/external-dependencies/qt6-framework/Dockerfile
T
torstenandCopilot 505b05cfaa Add external dependencies CI/CD pipelines with SBOM generation
- Create external-dependencies directory structure with per-package pipelines
- Add DEPENDENCIES-INVENTORY.md with comprehensive dependency tracking
- Create ubuntu-26.04-build-container base image with all dependencies
- Add per-package Jenkinsfiles: log4qt, grantlee, googletest, postgresql, qt6-framework, kdreports
- Add SBOM generation script (generate-sbom.sh) for CycloneDX, SLSA v1.0, and license reports
- Integrate SBOM generation into all Jenkins pipelines
- Add external-dependencies/README.md with usage and security documentation
- Exclude proprietary license files (rti_license.dat) from git tracking

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M6KNFNMSPW4SY4J4SQTTPVBP
2026-11-04 16:15:13 +00:00

41 lines
1.2 KiB
Docker

# Qt6 Framework Installation
FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04
LABEL maintainer="Legatus Team"
LABEL description="Qt6 framework installation via aqtinstall"
LABEL version="6.10.2"
ENV DEBIAN_FRONTEND=noninteractive
ARG HTTP_PROXY=""
ARG HTTPS_PROXY=""
ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de"
ENV http_proxy=${HTTP_PROXY}
ENV https_proxy=${HTTPS_PROXY}
ENV no_proxy=${NO_PROXY}
# Install Python and aqtinstall
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 python3-pip ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --break-system-packages --quiet aqtinstall
# Install Qt6
ARG QT_VERSION=6.10.2
ARG QT_MODULES="qtmultimedia qtserialport qtimageformats qtwebsockets qtwebengine qtpdf qtwebview qt5compat qtwebchannel qtpositioning qtlocation qtsensors"
RUN aqt install-qt linux desktop ${QT_VERSION} linux_gcc_64 \
-m ${QT_MODULES} \
--outputdir /opt/Qt \
&& ln -sfn /opt/Qt/${QT_VERSION}/gcc_64/bin/* /usr/local/bin/
ENV QT_HOME=/opt/Qt/${QT_VERSION}/gcc_64
ENV PATH=${QT_HOME}/bin:${PATH}
ENV CMAKE_PREFIX_PATH=${QT_HOME}/lib/cmake
# Verify installation
RUN qmake6 --version && qmake6 --version | grep -q "${QT_VERSION}"
CMD ["/bin/bash"]