Skip to content

Commit

Permalink
chore: not installing controller-gen into build image as it is not us…
Browse files Browse the repository at this point in the history
…ed (#1794)
  • Loading branch information
dadrus authored Sep 16, 2024
1 parent 54e6cad commit 5bb551c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 5bb551c

Please sign in to comment.