Merge pull request #7849 from BbolroC/hot-fix-dockerbuild

packaging: do not install docker-compose-plugin for s390x|ppc64le
This commit is contained in:
Hyounggyu Choi 2023-09-06 13:13:25 +02:00 committed by GitHub
commit d27fe18167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,8 @@ RUN apt-get update && \
apt-get clean && rm -rf /var/lib/apt/lists/ && \ apt-get clean && rm -rf /var/lib/apt/lists/ && \
install_yq.sh && \ install_yq.sh && \
curl -fsSL https://get.docker.com -o get-docker.sh && \ curl -fsSL https://get.docker.com -o get-docker.sh && \
if uname -m | grep -Eq 's390x|ppc64le'; then export VERSION="v20.10"; fi && \ if uname -m | grep -Eq 's390x|ppc64le'; then export VERSION="v20.10" && \
sed -i 's/\<docker-compose-plugin\>//g' get-docker.sh; fi && \
sh get-docker.sh sh get-docker.sh
ARG IMG_USER=kata-builder ARG IMG_USER=kata-builder