Skip to content

Commit

Permalink
build as root user (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Jan 25, 2022
1 parent df5a6d1 commit 12b9463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.16.12 as builder

USER root

WORKDIR /workspace
# Copy the Go Modules manifests
COPY go.mod go.mod
Expand Down

0 comments on commit 12b9463

Please sign in to comment.