Commit Graph

447 Commits

Author SHA1 Message Date
Stephen Augustus
93295000af
golang: Update to go1.18rc1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:16:26 -05:00
Marko Mudrinić
980406f083
Update Go to 1.17.7
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2022-02-12 13:06:08 +01:00
Nabarun Pal
77816bd9b1
[go] update to Go 1.17.6
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-01-18 14:35:24 +05:30
Carlos Panato
4bda9697ee
[go1.17] Update to go1.17.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 16:58:29 +01:00
Carlos Panato
2adf0e116c
[go1.17] Update to go1.17.4
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-06 09:40:54 +01:00
Patrick Ohly
3cfef61112 build: use debian-iptables:bullseye-v1.1.0
The newer image contains go-runner, which is relevant for removing the
deprecated klog flags in the kube-proxy image.
2021-11-10 09:24:42 +01:00
Carlos Panato
abbf8c3bed
[go1.17] Update to go1.17.3
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-11-07 16:29:35 +01:00
Mengjiao Liu
19e8852154 [go1.17] Update to go1.17.2 2021-10-14 16:15:51 +08:00
Stephen Augustus
531eb712c2
releng: Update build images to Debian 11 (Bullseye)
- debian-base:bullseye-v1.0.0
- debian-iptables:bullseye-v1.0.0
- go-runner:v2.3.1-go1.17.1-bullseye.0
- kube-cross:v1.23.0-go1.17.1-bullseye.0
- setcap:bullseye-v1.0.0

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-09-20 20:51:32 -04:00
Kubernetes Prow Robot
86c6437530
Merge pull request #104749 from cpanato/GH-102822
build/common: check if docker buildx is available
2021-09-14 09:11:08 -07:00
Carlos Panato
132c7066e0
[go1.17] Update to go1.17.1
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-14 13:04:25 +02:00
Pushkar Joglekar
64938ea160 Update debian-iptables to pick CVE fixes
- This image has fixes for CVE-2021-3711, CVE-2021-3712
- This will allow kube-proxy to be built on newer base image
  which has fixes for these CVEs
2021-09-13 11:13:08 -07:00
Carlos Panato
ee04b4dd37
build/common: check if docker buildx is available
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-10 15:57:04 +02:00
Stephen Augustus
e8d2bff6ba
[go1.17] Update to go1.17
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:41 -04:00
Mengjiao Liu
4f1b1d72e3 Update setcap image to buster-v2.0.4 2021-08-07 09:49:18 +08:00
Mengjiao Liu
cafad98536 Update debian-iptables image to buster-v1.6.6 2021-08-07 09:47:29 +08:00
Carlos Panato
6b9dc099f8
[go1.16] Update to go1.16.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-08-06 17:11:00 +02:00
Kubernetes Prow Robot
8c64743d73
Merge pull request #104185 from dims/allow-a-custom-kube-cross-image-and-tag-during-build
Allow a custom kube-cross image + tag to be specified
2021-08-06 02:33:19 -07:00
Davanum Srinivas
00d89aad50
Allow a custom kube-cross image + tag to be specified
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 19:26:09 -04:00
Davanum Srinivas
af2129b77d
Allow override of CGO_ENABLED=0
When building inside a docker container, we fail to pass along enough
information for KUBE_CGO_OVERRIDES. The original PR was geared towards
building the binary from the command line

- dca376a03e
- e4ded2b3ec

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 10:45:14 -04:00
Carlos Panato
83f8d1ad72
[go1.16] Update to go1.16.6
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-07-13 18:05:16 +02:00
Joyce Kung
aeccadda4f Update setcap image to buster-v2.0.3 2021-06-26 15:16:12 -04:00
Joyce Kung
0a8a9188c9 Update debian-iptables image to buster-v1.6.5 2021-06-25 20:45:20 -04:00
Carlos Panato
1524526991
[go1.16] Update to go1.16.5
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-06-08 14:11:32 +02:00
Kubernetes Prow Robot
aaceb26ea3
Merge pull request #99080 from vinayakankugoyal/dockerfile3
Use docker buildx for the build-image.
2021-06-05 11:46:38 -07:00
Benjamin Elder
45179bb989 update debian-iptables to v1.6.2
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Marko Mudrinić
12fe4dee2b
Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-27 18:32:22 +02:00
Marko Mudrinić
3bcc15e19d
Update debian-iptables to buster-v1.6.1
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:03 +02:00
Stephen Augustus
5b530da51f [go1.16] Update to go1.16.4
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-05-07 15:47:54 -04:00
Stephen Augustus
fac97f8a9b [go1.16] Update to go1.16.3
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-04-16 19:56:51 -04:00
jindijamie
7e7a6284be update debian-base to buster-v1.5.0 for CVEs 2021-04-09 19:27:10 +00:00
Vinayak Goyal
086cdfb360 Use docker buildx for the build-image. 2021-03-16 19:51:15 -07:00
Kubernetes Prow Robot
7139f08763
Merge pull request #99592 from Joseph-Goergen/fix-buildimage-dockerfile
Fixed the Dockerfile for the build-image to build from KUBE_BASE_IMAGE_REGISTRY
2021-03-11 15:02:18 -08:00
Stephen Augustus
13ef775df2 [go1.16] Update to go1.16.1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-10 19:06:57 -05:00
Joseph Goergen
4d440889ff Fixed the Dockerfile for the build-image to build from KUBE_BASE_IMAGE_REGISTRY
related: https://github.ibm.com/alchemy-containers/armada-update/issues/1791
2021-03-10 16:07:51 -06:00
Stephen Augustus
ee500e0647 [go1.16] Use go-runner:v2.3.1-go1.16-buster.0 image
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Jake Sanders
4b83c760a9 Split the setcap image from the base images, make them easier to override 2021-02-24 12:49:08 -08:00
Vinayak Goyal
b4c330ab72 Make the registry for the server-images templated in the Dockerfiles. 2021-02-23 13:40:13 -08:00
Kubernetes Prow Robot
53345a216d
Merge pull request #99067 from vinayakankugoyal/dockerfile3
Use ARG and --build-arg instead of sed for build-image.
2021-02-13 22:01:04 -08:00
Vinayak Goyal
e05f4a3fac Use ARG and --build-arg instead of sed for build-image. 2021-02-13 17:10:32 -08:00
Carlos Panato
c2e90d8baf
[go1.15] Use go-runner:buster-v2.3.1 image (built on go1.15.8) 2021-02-06 15:58:12 +01:00
Sascha Grunert
1acaf32cff
Bump debian-base to v1.4.0 and debian-iptables to v1.5.0
Both images are now sane multi-architecture images and should fix the
kube-proxy container image in the same way.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-01-28 13:47:09 +01:00
Carlos Panato
d726c718bf
[go1.15] Use go-runner:buster-v2.2.4 image (built on go1.15.7) 2021-01-27 11:44:05 +01:00
pacoxu
03048e8b25 update debian-iptables to buster-v1.4.0 for base change
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-26 14:24:56 +08:00
Kubernetes Prow Robot
9c894e23ef
Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Davanum Srinivas
4b3475bc65
Ensure reproducible builds when build through docker
In d9cfd77149 and
d70d04f92b we added support for
reproducible builds for individual binaries (like kube-apiserver),
however we need to thread this support when we build binaries with
docker as well (say during "make quick-release").

Essentially, if GOLDFLAGS is set explicitly by someone either to a valid
value they would like to use or empty ("") then we pick that up. If it
is not set we should avoid setting GOLDFLAGS to empty. This ensures that
we support the same functionality documented here:
https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82-L85

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-04 19:16:54 -05:00
Jesus Herrera
d8bedb3980 Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00
Stephen Augustus
a19cc9a245 [go1.15] Use go-runner:buster-v2.2.2 image (built on go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 21:23:25 -05:00
Sascha Grunert
b2308f1efe
Make copied localtime file write-able
Some distributions have no default write-access to this file, which
means that it's not possible to update the file and rebuild the project
if not write-able. This patch fixes this by adding an additional
`chmod`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-10-14 13:08:57 +02:00
Stephen Augustus
00a07cfd86 build: Update to debian-iptables:buster-v1.3.0
- Uses iptables 1.8.5

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00