Skip to content

Commit e0e0222

Browse files
committed
NVIDIA-568: Modify Dockerfile to Run as root to ensure write permissions
1 parent 934c6e2 commit e0e0222

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
44
ARG TARGETOS
55
ARG TARGETARCH
66

7+
# Run as root to ensure write permissions in workspace
8+
USER 0
79
WORKDIR /workspace
810
# Copy the Go Modules manifests
911
COPY go.mod go.mod

0 commit comments

Comments
 (0)