Skip to content

Commit 085a69e

Browse files
committed
improve docker build
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 0ee6deb commit 085a69e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build
2222
# Test
2323
#############################################
2424
FROM gcr.io/distroless/static as test
25+
USER 0:0
2526
WORKDIR /app
2627
COPY --from=build /go/src/github.com/webdevops/azure-auditor/azure-auditor .
2728
COPY --from=build /go/src/github.com/webdevops/azure-auditor/templates ./templates

0 commit comments

Comments
 (0)