diff --git a/build-sidecar-injector.jenkinsfile b/build-sidecar-injector.jenkinsfile index a766a79..206d63b 100644 --- a/build-sidecar-injector.jenkinsfile +++ b/build-sidecar-injector.jenkinsfile @@ -37,8 +37,8 @@ FROM scratch LABEL maintainer="The_Spider " COPY --from=certHost /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -COPY --from=builder /etc/passwd /etc/group /etc/ -COPY --from=builder --chown=app:app /go/src/app/sidecarinjector /app/sidecarinjector +COPY --from=build /etc/passwd /etc/group /etc/ +COPY --from=build --chown=app:app /go/src/app/sidecarinjector /app/sidecarinjector USER app:app WORKDIR /app/