From 012e585b117e13f7082fc0a166103c877579fab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Massimiliano=20Dess=C3=AC=20-=20=28Fast=20Chauffeur=29?= Date: Mon, 22 Apr 2024 18:24:13 +0200 Subject: [PATCH] Revert "Rootless runtime image (#1300)" (#1306) This reverts commit eaa496608f7dfb2e8bd940bab8dff8084c87f003. --- container_files/Containerfile.services | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/container_files/Containerfile.services b/container_files/Containerfile.services index e2f7ba0b9..ea1312c27 100644 --- a/container_files/Containerfile.services +++ b/container_files/Containerfile.services @@ -91,30 +91,12 @@ RUN test -f /public/*.wasm FROM registry.access.redhat.com/ubi9/ubi-minimal:latest LABEL org.opencontainers.image.source="https://github.com/trustification/trustification" -LABEL description="Trustification" -LABEL io.k8s.description ="Trustification" -LABEL io.k8s.display-name ="Trustification" -LABEL summary ="Trustification" -LABEL name ="Trustification" RUN microdnf update -y && microdnf install -y nginx jq git postgresql - -RUN groupadd -r -g 1001 trustuser \ - && useradd -r -u 1001 -g trustuser -m -d /home/trustuser -s /bin/bash trustuser - -ENV NGINX_USER="trustuser" \ - NGINXR_UID="1001" \ - NGINX_GROUP="atrustuser" \ - NGINX_GID="1001" - RUN true \ && mkdir /public \ && mkdir /endpoints -RUN mkdir -p /var/lib/nginx/tmp /var/log/nginx \ - && chown -R trustuser:trustuser /var/lib/nginx /var/log/nginx \ - && chmod -R 755 /var/lib/nginx /var/log/nginx - COPY --from=frontendbuilder /public /public/ COPY spog/ui/config/nginx.conf /etc/nginx/nginx.conf @@ -130,4 +112,3 @@ RUN mkdir /data COPY ./data/ds1 /data ENV RUST_LOG info -