corrects target multistage docker build name

This commit is contained in:
Hyatt 2022-01-30 14:09:07 -06:00
parent 658a379a5b
commit d034398d06
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -37,8 +37,8 @@ FROM scratch
LABEL maintainer="The_Spider <spider@smoothnet.org>"
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/