Add verification of docker buildx support (#4966)
This commit is contained in:
parent
7ff49b25d6
commit
5eddf1095d
7 changed files with 47 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
|
||||
FROM 8s.gcr.io/debian-base:v2.0.0
|
||||
|
||||
ENV TERRAFORM_VERSION 0.12.9
|
||||
ENV TERRAFORM_VERSION 0.12.19
|
||||
|
||||
RUN clean-install \
|
||||
bash \
|
||||
|
|
|
|||
|
|
@ -83,7 +83,8 @@ cd ingress-nginx
|
|||
# disable docker in docker tasks
|
||||
export DIND_TASKS=0
|
||||
|
||||
make register-qemu
|
||||
make init-docker-buildx
|
||||
docker buildx use ingress-nginx --default --global
|
||||
|
||||
echo "Building NGINX image..."
|
||||
make all-container
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
|
||||
FROM k8s.gcr.io/debian-base:v2.0.0
|
||||
|
||||
ENV TERRAFORM_VERSION 0.12.19
|
||||
|
||||
|
|
|
|||
|
|
@ -76,13 +76,10 @@ git clone https://github.com/kubernetes/ingress-nginx
|
|||
|
||||
cd ingress-nginx/images/nginx
|
||||
|
||||
docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
|
||||
|
||||
docker buildx install
|
||||
|
||||
docker buildx create --use --name ingress-nginx
|
||||
|
||||
export TAG=$(git rev-parse HEAD)
|
||||
|
||||
make init-docker-buildx
|
||||
docker buildx use ingress-nginx --default --global
|
||||
|
||||
echo "Building NGINX images..."
|
||||
make release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue