diff --git a/Dockerfile b/Dockerfile index acbe1a9ca..d3f4cc5d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ COPY cmd cmd COPY pkg pkg COPY hack hack -RUN cd /workdir && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/$(go env GOARCH)/kubectl && chmod +x kubectl ENV GO_BUILD_ARGS=$GO_BUILD_ARGS RUN echo "Go build args: $GO_BUILD_ARGS" && \ make mcad-controller @@ -18,7 +17,6 @@ RUN echo "Go build args: $GO_BUILD_ARGS" && \ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest COPY --from=BUILDER /workdir/_output/bin/mcad-controller /usr/local/bin -COPY --from=BUILDER /workdir/kubectl /usr/local/bin RUN true \ && microdnf update \