nginx-ingress controller :1.12.4 #2609
-
while running the make debian-image-plus for the version 1.12.4 in the local i got an error RUN CGO_ENABLED=0 GO111MODULE=on GOOS=linux GOARCH=amd64 go build -trimpath -ldflags "-s -w -X main.version=v1.12.4-SNAPSHOT-addceb8 -X main.commit=addceb86fb4cfa225696a1f88f649d625e5e8857 -X main.date=2022-04-14T11:50:13Z" -o /nginx-ingress:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
are you running Alternatively, if you have a local go environment with a go version >= 1.17 you build with I'll open a PR to fix this. |
Beta Was this translation helpful? Give feedback.
-
@lucacome Thank you so much for the quick response, it would be great if you can fix it as i am using team-city CI/CD tool and want 1.12.4 image push into my client azure private repository. |
Beta Was this translation helpful? Give feedback.
Hi @dbsom2018batch
are you running
make debian-image-plus
withTARGET=container
? It looks like we have a bug and this line https://github.com/nginxinc/kubernetes-ingress/blob/v1.12.4/build/Dockerfile#L250 should beFROM golang:1.17-alpine AS builder
. If you're able to modify that line, it will build successfully.Alternatively, if you have a local go environment with a go version >= 1.17 you build with
make debian-image-plus
withTARGET=local
.I'll open a PR to fix this.