gitignore doesn't ignore the binary with ./cloudflare-tunnel-ingress-controller and had to be cloudflare-tunnel-ingress-controller. However it also ignores the Dockerfile as it's in the directory named cloudflare-tunnel-ingress-controller.
golang.org/x/net 0.14 has HIGH vulnerability and it's fixed in 0.17.
-ldflags="-s -w" reduces the binary size about 10MB (50MB -> 40MB in image size).
gitignore doesn't ignore the binary with
./cloudflare-tunnel-ingress-controller
and had to becloudflare-tunnel-ingress-controller
. However it also ignores the Dockerfile as it's in the directory namedcloudflare-tunnel-ingress-controller
.golang.org/x/net 0.14 has HIGH vulnerability and it's fixed in 0.17.
-ldflags="-s -w"
reduces the binary size about 10MB (50MB -> 40MB in image size).