Merge pull request #6212 from BbolroC/fix-docker-buildx-s390x

CI: Make docker version stick to v20.10 in ubuntu:20.04 for s390x|ppc64le
This commit is contained in:
Greg Kurz 2023-02-03 17:05:55 +01:00 committed by GitHub
commit 1660d5651f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ ENV INSTALL_IN_GOPATH=false
COPY install_yq.sh /usr/bin/install_yq.sh
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install yq and docker
RUN apt-get update && \
@ -18,6 +19,7 @@ RUN apt-get update && \
apt-get clean && rm -rf /var/lib/apt/lists/ && \
install_yq.sh && \
curl -fsSL https://get.docker.com -o get-docker.sh && \
if uname -m | grep -Eq 's390x|ppc64le'; then export VERSION="v20.10"; fi && \
sh get-docker.sh
ARG IMG_USER=kata-builder