Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
update to nginx:1.23.2-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
guewa committed Jan 25, 2023
1 parent 3a012f9 commit c786eea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def replace_chart_placeholder(chart_path: str, image_version: str, chart_version

replace_placeholder_in_yaml(values_yaml, "<NGINX_REGISTRY>", "eu.gcr.io")
replace_placeholder_in_yaml(values_yaml, "<NGINX_REPOSITORY>", image_repo_3rd + "nginx")
replace_placeholder_in_yaml(values_yaml, "<NGINX_TAG>", "1.23.0-alpine")
replace_placeholder_in_yaml(values_yaml, "<NGINX_TAG>", "1.23.2-alpine")

replace_placeholder_in_yaml(values_yaml, "<IMAGE_PULL_POLICY>", "IfNotPresent")

Expand Down
4 changes: 3 additions & 1 deletion dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit c786eea

Please sign in to comment.