Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yoshi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY dependencies /etc/plugin_templates
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager main.go

FROM alpine:3.20
FROM alpine:3.21.2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using digest for Alpine image

Consider pinning to a specific digest instead of using tag 3.21.2 for the Alpine base image to ensure immutable builds. Using image tags can lead to different image content being pulled over time even with the same tag.

Code suggestion
Check the AI-generated fix before applying
Suggested change
FROM alpine:3.21.2
FROM alpine@sha256:c5c5fda71656f07c8567aad6f89edab087e4a81c6a5adb0a8e4ce85f60be59b5

Code Review Run #db85fc


Is this a valid issue, or was it incorrectly flagged by the Agent?

  • it was incorrectly flagged

RUN apk add --no-cache bash
RUN apk add --no-cache vim
WORKDIR /
Expand Down