Skip to content

Commit

Permalink
Try running as root
Browse files Browse the repository at this point in the history
  • Loading branch information
skarekrow authored Nov 11, 2024
1 parent e6de2e7 commit 74cbc60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM registry.access.redhat.com/ubi8/go-toolset as builder
USER 0

WORKDIR /go/src/app

Expand All @@ -9,8 +10,6 @@ COPY main.go main.go

RUN go mod download

USER 0

RUN go build -v -o app main.go

FROM registry.access.redhat.com/ubi8-minimal
Expand Down

0 comments on commit 74cbc60

Please sign in to comment.