From 5bb551c07a2c59e97c008f83042aab139ef4f40e Mon Sep 17 00:00:00 2001 From: Dimitrij Drus Date: Mon, 16 Sep 2024 13:39:36 +0200 Subject: [PATCH] chore: not installing controller-gen into build image as it is not used (#1794) --- docker/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 765e74382..da73869c2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,7 +18,6 @@ RUN useradd -l -M -U -s "/usr/sbin/nologin" -d "/nonexistent" -u 10001 ${USER} WORKDIR /build COPY . . -RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.10.0 RUN go mod download && go mod verify &&\ CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -trimpath -ldflags="-buildid= -w -s -X github.com/dadrus/heimdall/version.Version=${VERSION}"