You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify that the move to nginx-unprivileged:1.29-alpine does not change default config paths, user, ports, or module availability that downstream stages or runtime assume. Confirm any COPY, permissions, or healthcheck expectations still align with the new base image.
FROM gcr.io/iguazio/nginx-unprivileged:1.29-alpine as production-stage
# align UID & GID with nginx-unprivileged image UID & GID
ARG UID=101
ARG GID=101
Latest suggestions up to 3271828
Explore these optional code suggestions:
Category
Suggestion
Impact
Security
Pin image to digest
Pin the base image to a specific digest to avoid unexpected breaking changes from future tag updates. This ensures reproducible builds and mitigates supply-chain risks.
-FROM gcr.io/iguazio/nginx-unprivileged:1.29-alpine as production-stage+FROM gcr.io/iguazio/nginx-unprivileged:1.29-alpine@sha256:<KNOWN_DIGEST> as production-stage
Suggestion importance[1-10]: 7
__
Why: Recommending digest pinning is accurate for the updated FROM gcr.io/iguazio/nginx-unprivileged:1.29-alpine line and improves supply-chain security and reproducibility, though it’s a best-practice rather than fixing a functional bug.
-FROM gcr.io/iguazio/nginx-unprivileged::1.29-alpine as production-stage+FROM gcr.io/iguazio/nginx-unprivileged:1.29-alpine as production-stage
Suggestion importance[1-10]: 9
__
Why: The new hunk shows FROM gcr.io/iguazio/nginx-unprivileged::1.29-alpine as production-stage with a double colon, which is invalid Docker syntax and would fail the build; changing to a single colon correctly mirrors the old image tag format.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement
Description
Upgrade nginx base image to 1.29-alpine
Align production stage with latest unprivileged image
Diagram Walkthrough
File Walkthrough
Dockerfile
Upgrade production base image to 1.29-alpineDockerfile
1.29-alpine.