We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 934c6e2 + e0e0222 commit 3fe9135Copy full SHA for 3fe9135
1 file changed
Dockerfile
@@ -4,6 +4,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
4
ARG TARGETOS
5
ARG TARGETARCH
6
7
+# Run as root to ensure write permissions in workspace
8
+USER 0
9
WORKDIR /workspace
10
# Copy the Go Modules manifests
11
COPY go.mod go.mod
0 commit comments