- 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
47 lines
1.2 KiB
Docker
47 lines
1.2 KiB
Docker
# Log4Qt Installation
|
|
FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04
|
|
|
|
LABEL maintainer="Legatus Team"
|
|
LABEL description="Log4Qt logging framework for Qt6"
|
|
LABEL version="2.0.0"
|
|
|
|
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}
|
|
|
|
ARG QT_VERSION=6.10.2
|
|
ARG LOG4QT_VERSION=2.0.0
|
|
|
|
# Install build dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential cmake git \
|
|
libqt6core6 libqt6gui6 libqt6widgets6 \
|
|
qt6-base-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Clone and build Log4Qt
|
|
RUN git clone --depth 1 --branch v${LOG4QT_VERSION} \
|
|
https://github.com/MeanEYE/Log4Qt.git /tmp/Log4Qt \
|
|
&& cd /tmp/Log4Qt \
|
|
&& mkdir build && cd build \
|
|
&& cmake -DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr/local \
|
|
-DCMAKE_PREFIX_PATH=/opt/Qt/${QT_VERSION}/gcc_64 \
|
|
.. \
|
|
&& cmake --build . -j$(nproc) \
|
|
&& cmake --install . \
|
|
&& rm -rf /tmp/Log4Qt
|
|
|
|
# Update library cache
|
|
RUN ldconfig
|
|
|
|
# Verify installation
|
|
RUN test -f /usr/local/lib/liblog4qt.so
|
|
|
|
CMD ["/bin/bash"] |