diff --git a/external-dependencies/googletest/Dockerfile b/external-dependencies/googletest/Dockerfile index baa1b97cc..cffb34465 100644 --- a/external-dependencies/googletest/Dockerfile +++ b/external-dependencies/googletest/Dockerfile @@ -1,19 +1,57 @@ # GoogleTest Installation FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04 -LABEL maintainer="Legatus Team" -LABEL description="GoogleTest testing framework" +ARG RME_USERPASS=ctc +ARG RME_ADMINSRV=10.198.80.75 +ARG RME_PROJECT=guez + +# Proxy configuration for air-gapped environments +ARG http_proxy="http://10.198.80.130:3128" +ARG no_proxy="localhost,127.0.0.1,defence-elec.de,.defence-elec.de,sl.defence-elec.de,10.198.80.0/23,192.168.133.0/24,141.200.0.0/16,10.184.0.0/15,10.199.101.35,10.199.101.36,10.199.101.158" +ARG HTTP_PROXY=${http_proxy} +ARG https_proxy=${http_proxy} +ARG HTTPS_PROXY=${http_proxy} +ARG NO_PROXY=${no_proxy} + +LABEL author="Legatus Team" +LABEL project=${RME_PROJECT} LABEL version="1.15.2" +LABEL description="GoogleTest testing framework" ENV DEBIAN_FRONTEND=noninteractive -ARG HTTP_PROXY="" -ARG HTTPS_PROXY="" -ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de" +# OS and PATH configuration +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 -ENV http_proxy=${HTTP_PROXY} -ENV https_proxy=${HTTPS_PROXY} -ENV no_proxy=${NO_PROXY} +# Shell global auf Bash mit sicheren Pipes umstellen +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Originale Repositories durch Nexus Proxies ersetzen +RUN echo : > /etc/apt/sources.list && \ + echo -e "Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu\n\ +Suites: resolute resolute-updates resolute-backports\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ +\n\ +Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu-security\n\ +Suites: resolute-security\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > /etc/apt/sources.list.d/ubuntu.sources + +# Create users (install openssl first for password hashing) +RUN apt-get update && apt-get install -y openssl \ + && groupadd ctc -g 1445 || true \ + && groupadd rme -g 1001 || true \ + && useradd -d /shd/CTC/TOOLS -u 1445 -g ctc -m -p $(openssl passwd -5 ${RME_USERPASS}) ctc || true \ + && useradd -d /home/rme -u 1001 -g rme -m -p $(openssl passwd -5 ${RME_USERPASS}) rme || true \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL http://${RME_ADMINSRV}/rme/deb_and_rpm_signage_key.pub --output /etc/apt/keyrings/deb_and_rpm_signage_key.asc \ + && curl -fsSL http://${RME_ADMINSRV}/rme/SL-Netz.crt --output /usr/local/share/ca-certificates/SL-Netz.crt \ + && update-ca-certificates ARG GTEST_VERSION=1.15.2 diff --git a/external-dependencies/grantlee/Dockerfile b/external-dependencies/grantlee/Dockerfile index 6e18623f3..15cfca6d9 100644 --- a/external-dependencies/grantlee/Dockerfile +++ b/external-dependencies/grantlee/Dockerfile @@ -1,19 +1,57 @@ # Grantlee Installation FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04 -LABEL maintainer="Legatus Team" -LABEL description="Grantlee templating engine for Qt6" +ARG RME_USERPASS=ctc +ARG RME_ADMINSRV=10.198.80.75 +ARG RME_PROJECT=guez + +# Proxy configuration for air-gapped environments +ARG http_proxy="http://10.198.80.130:3128" +ARG no_proxy="localhost,127.0.0.1,defence-elec.de,.defence-elec.de,sl.defence-elec.de,10.198.80.0/23,192.168.133.0/24,141.200.0.0/16,10.184.0.0/15,10.199.101.35,10.199.101.36,10.199.101.158" +ARG HTTP_PROXY=${http_proxy} +ARG https_proxy=${http_proxy} +ARG HTTPS_PROXY=${http_proxy} +ARG NO_PROXY=${no_proxy} + +LABEL author="Legatus Team" +LABEL project=${RME_PROJECT} LABEL version="5.3.1" +LABEL description="Grantlee templating engine for Qt6" ENV DEBIAN_FRONTEND=noninteractive -ARG HTTP_PROXY="" -ARG HTTPS_PROXY="" -ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de" +# OS and PATH configuration +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 -ENV http_proxy=${HTTP_PROXY} -ENV https_proxy=${HTTPS_PROXY} -ENV no_proxy=${NO_PROXY} +# Shell global auf Bash mit sicheren Pipes umstellen +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Originale Repositories durch Nexus Proxies ersetzen +RUN echo : > /etc/apt/sources.list && \ + echo -e "Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu\n\ +Suites: resolute resolute-updates resolute-backports\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ +\n\ +Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu-security\n\ +Suites: resolute-security\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > /etc/apt/sources.list.d/ubuntu.sources + +# Create users (install openssl first for password hashing) +RUN apt-get update && apt-get install -y openssl \ + && groupadd ctc -g 1445 || true \ + && groupadd rme -g 1001 || true \ + && useradd -d /shd/CTC/TOOLS -u 1445 -g ctc -m -p $(openssl passwd -5 ${RME_USERPASS}) ctc || true \ + && useradd -d /home/rme -u 1001 -g rme -m -p $(openssl passwd -5 ${RME_USERPASS}) rme || true \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL http://${RME_ADMINSRV}/rme/deb_and_rpm_signage_key.pub --output /etc/apt/keyrings/deb_and_rpm_signage_key.asc \ + && curl -fsSL http://${RME_ADMINSRV}/rme/SL-Netz.crt --output /usr/local/share/ca-certificates/SL-Netz.crt \ + && update-ca-certificates ARG QT_VERSION=6.10.2 ARG GRANTLEE_VERSION=5.3.1 diff --git a/external-dependencies/kdreports/Dockerfile b/external-dependencies/kdreports/Dockerfile index 6dbdeb81b..616b33ab0 100644 --- a/external-dependencies/kdreports/Dockerfile +++ b/external-dependencies/kdreports/Dockerfile @@ -1,19 +1,57 @@ # KDReports Installation FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04 -LABEL maintainer="Legatus Team" -LABEL description="KDReports installation for Qt6" +ARG RME_USERPASS=ctc +ARG RME_ADMINSRV=10.198.80.75 +ARG RME_PROJECT=guez + +# Proxy configuration for air-gapped environments +ARG http_proxy="http://10.198.80.130:3128" +ARG no_proxy="localhost,127.0.0.1,defence-elec.de,.defence-elec.de,sl.defence-elec.de,10.198.80.0/23,192.168.133.0/24,141.200.0.0/16,10.184.0.0/15,10.199.101.35,10.199.101.36,10.199.101.158" +ARG HTTP_PROXY=${http_proxy} +ARG https_proxy=${http_proxy} +ARG HTTPS_PROXY=${http_proxy} +ARG NO_PROXY=${no_proxy} + +LABEL author="Legatus Team" +LABEL project=${RME_PROJECT} LABEL version="2.3.0" +LABEL description="KDReports installation for Qt6" ENV DEBIAN_FRONTEND=noninteractive -ARG HTTP_PROXY="" -ARG HTTPS_PROXY="" -ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de" +# OS and PATH configuration +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 -ENV http_proxy=${HTTP_PROXY} -ENV https_proxy=${HTTPS_PROXY} -ENV no_proxy=${NO_PROXY} +# Shell global auf Bash mit sicheren Pipes umstellen +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Originale Repositories durch Nexus Proxies ersetzen +RUN echo : > /etc/apt/sources.list && \ + echo -e "Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu\n\ +Suites: resolute resolute-updates resolute-backports\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ +\n\ +Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu-security\n\ +Suites: resolute-security\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > /etc/apt/sources.list.d/ubuntu.sources + +# Create users (install openssl first for password hashing) +RUN apt-get update && apt-get install -y openssl \ + && groupadd ctc -g 1445 || true \ + && groupadd rme -g 1001 || true \ + && useradd -d /shd/CTC/TOOLS -u 1445 -g ctc -m -p $(openssl passwd -5 ${RME_USERPASS}) ctc || true \ + && useradd -d /home/rme -u 1001 -g rme -m -p $(openssl passwd -5 ${RME_USERPASS}) rme || true \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL http://${RME_ADMINSRV}/rme/deb_and_rpm_signage_key.asc --output /etc/apt/keyrings/deb_and_rpm_signage_key.asc \ + && curl -fsSL http://${RME_ADMINSRV}/rme/SL-Netz.crt --output /usr/local/share/ca-certificates/SL-Netz.crt \ + && update-ca-certificates ARG QT_VERSION=6.10.2 ARG KDREPORTS_VERSION=2.3.0 diff --git a/external-dependencies/log4qt/Dockerfile b/external-dependencies/log4qt/Dockerfile index 6476eed30..c8f4da115 100644 --- a/external-dependencies/log4qt/Dockerfile +++ b/external-dependencies/log4qt/Dockerfile @@ -1,19 +1,57 @@ # Log4Qt Installation FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04 -LABEL maintainer="Legatus Team" -LABEL description="Log4Qt logging framework for Qt6" +ARG RME_USERPASS=ctc +ARG RME_ADMINSRV=10.198.80.75 +ARG RME_PROJECT=guez + +# Proxy configuration for air-gapped environments +ARG http_proxy="http://10.198.80.130:3128" +ARG no_proxy="localhost,127.0.0.1,defence-elec.de,.defence-elec.de,sl.defence-elec.de,10.198.80.0/23,192.168.133.0/24,141.200.0.0/16,10.184.0.0/15,10.199.101.35,10.199.101.36,10.199.101.158" +ARG HTTP_PROXY=${http_proxy} +ARG https_proxy=${http_proxy} +ARG HTTPS_PROXY=${http_proxy} +ARG NO_PROXY=${no_proxy} + +LABEL author="Legatus Team" +LABEL project=${RME_PROJECT} LABEL version="2.0.0" +LABEL description="Log4Qt logging framework for Qt6" ENV DEBIAN_FRONTEND=noninteractive -ARG HTTP_PROXY="" -ARG HTTPS_PROXY="" -ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de" +# OS and PATH configuration +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 -ENV http_proxy=${HTTP_PROXY} -ENV https_proxy=${HTTPS_PROXY} -ENV no_proxy=${NO_PROXY} +# Shell global auf Bash mit sicheren Pipes umstellen +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Originale Repositories durch Nexus Proxies ersetzen +RUN echo : > /etc/apt/sources.list && \ + echo -e "Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu\n\ +Suites: resolute resolute-updates resolute-backports\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ +\n\ +Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu-security\n\ +Suites: resolute-security\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > /etc/apt/sources.list.d/ubuntu.sources + +# Create users (install openssl first for password hashing) +RUN apt-get update && apt-get install -y openssl \ + && groupadd ctc -g 1445 || true \ + && groupadd rme -g 1001 || true \ + && useradd -d /shd/CTC/TOOLS -u 1445 -g ctc -m -p $(openssl passwd -5 ${RME_USERPASS}) ctc || true \ + && useradd -d /home/rme -u 1001 -g rme -m -p $(openssl passwd -5 ${RME_USERPASS}) rme || true \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL http://${RME_ADMINSRV}/rme/deb_and_rpm_signage_key.pub --output /etc/apt/keyrings/deb_and_rpm_signage_key.asc \ + && curl -fsSL http://${RME_ADMINSRV}/rme/SL-Netz.crt --output /usr/local/share/ca-certificates/SL-Netz.crt \ + && update-ca-certificates ARG QT_VERSION=6.10.2 ARG LOG4QT_VERSION=2.0.0 diff --git a/external-dependencies/postgresql/Dockerfile b/external-dependencies/postgresql/Dockerfile index 1eafa7ad9..d30cffef9 100644 --- a/external-dependencies/postgresql/Dockerfile +++ b/external-dependencies/postgresql/Dockerfile @@ -1,19 +1,57 @@ # PostgreSQL Installation FROM harbor.sl.defence-elec.de/proxydockerhub/library/ubuntu:26.04 -LABEL maintainer="Legatus Team" -LABEL description="PostgreSQL client libraries" +ARG RME_USERPASS=ctc +ARG RME_ADMINSRV=10.198.80.75 +ARG RME_PROJECT=guez + +# Proxy configuration for air-gapped environments +ARG http_proxy="http://10.198.80.130:3128" +ARG no_proxy="localhost,127.0.0.1,defence-elec.de,.defence-elec.de,sl.defence-elec.de,10.198.80.0/23,192.168.133.0/24,141.200.0.0/16,10.184.0.0/15,10.199.101.35,10.199.101.36,10.199.101.158" +ARG HTTP_PROXY=${http_proxy} +ARG https_proxy=${http_proxy} +ARG HTTPS_PROXY=${http_proxy} +ARG NO_PROXY=${no_proxy} + +LABEL author="Legatus Team" +LABEL project=${RME_PROJECT} LABEL version="16" +LABEL description="PostgreSQL client libraries" ENV DEBIAN_FRONTEND=noninteractive -ARG HTTP_PROXY="" -ARG HTTPS_PROXY="" -ARG NO_PROXY="localhost,127.0.0.1,.sl.defence-elec.de" +# OS and PATH configuration +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 -ENV http_proxy=${HTTP_PROXY} -ENV https_proxy=${HTTPS_PROXY} -ENV no_proxy=${NO_PROXY} +# Shell global auf Bash mit sicheren Pipes umstellen +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Originale Repositories durch Nexus Proxies ersetzen +RUN echo : > /etc/apt/sources.list && \ + echo -e "Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu\n\ +Suites: resolute resolute-updates resolute-backports\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ +\n\ +Types: deb\n\ +URIs: http://remote-repo.sl.defence-elec.de:8081/repository/ubuntu-security\n\ +Suites: resolute-security\n\ +Components: main restricted universe multiverse\n\ +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > /etc/apt/sources.list.d/ubuntu.sources + +# Create users (install openssl first for password hashing) +RUN apt-get update && apt-get install -y openssl \ + && groupadd ctc -g 1445 || true \ + && groupadd rme -g 1001 || true \ + && useradd -d /shd/CTC/TOOLS -u 1445 -g ctc -m -p $(openssl passwd -5 ${RME_USERPASS}) ctc || true \ + && useradd -d /home/rme -u 1001 -g rme -m -p $(openssl passwd -5 ${RME_USERPASS}) rme || true \ + && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL http://${RME_ADMINSRV}/rme/deb_and_rpm_signage_key.pub --output /etc/apt/keyrings/deb_and_rpm_signage_key.asc \ + && curl -fsSL http://${RME_ADMINSRV}/rme/SL-Netz.crt --output /usr/local/share/ca-certificates/SL-Netz.crt \ + && update-ca-certificates # Install PostgreSQL client libraries RUN apt-get update && apt-get install -y --no-install-recommends \