Removing chown of bin file
@@ -9,7 +9,6 @@ ENV CGO_ENABLED=0
RUN go build -v
RUN groupadd -g 999 user && \
useradd -r -u 999 -g user user
-RUN chown user:user /build/cmd/daemonset-check/daemonset-check
FROM scratch
COPY --from=builder /etc/passwd /etc/passwd
USER user
