Skip to content

Commit 20f6ce2

Browse files
authored
Merge pull request #4242 from dims/kube-cross-arm64-cross-compilers
Add ppc64le and s390x cross-compilers to arm64 kube-cross image
2 parents 65c99f5 + 6125785 commit 20f6ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/build/cross/default/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ fi
7878
RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \
7979
&& if [ ${targetArch} = "arm64" ]; then \
8080
apt-get update \
81-
&& apt-get install -y build-essential gcc-x86-64-linux-gnu; \
81+
&& apt-get install -y build-essential gcc-x86-64-linux-gnu \
82+
&& apt-get install -y crossbuild-essential-ppc64el crossbuild-essential-s390x; \
8283
fi
8384

8485
RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \

0 commit comments

Comments
 (0)