diff --git a/.ci/utils.py b/.ci/utils.py index dafd020..7e65cc0 100644 --- a/.ci/utils.py +++ b/.ci/utils.py @@ -166,7 +166,7 @@ def replace_chart_placeholder(chart_path: str, image_version: str, chart_version replace_placeholder_in_yaml(values_yaml, "", "eu.gcr.io") replace_placeholder_in_yaml(values_yaml, "", image_repo_3rd + "nginx") - replace_placeholder_in_yaml(values_yaml, "", "1.23.0-alpine") + replace_placeholder_in_yaml(values_yaml, "", "1.23.2-alpine") replace_placeholder_in_yaml(values_yaml, "", "IfNotPresent") diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 6614448..c7452b5 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -8,13 +8,15 @@ COPY public/ public/ COPY src/ src/ RUN yarn run build -# check distroless image FROM cgr.dev/chainguard/nginx:1.23.2 +# check distroless image +# FROM cgr.dev/chainguard/nginx:1.23.2 # ensure that there the nginx user is used, too FROM eu.gcr.io/sap-gcp-cp-k8s-stable-hub/3rd/nginx:1.23.2-alpine WORKDIR /app # Serve the frontend COPY --from=build /app/build ./ + ## add permissions for nginx user RUN chown -R nginx:nginx /app && \ chmod -R 755 /app && \