mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 18:23:12 +00:00
osbuiler: fixing USE_DOCKER for ppc64le
For building rootfs with docker, glibc based rust target should be installed on ppc64le. Additionally, protobuf-compiler would be required on ppc64le as it is not present by default. Fixes: #1417 Signed-off-by: Amulya Meka <amulmek1@in.ibm.com>
This commit is contained in:
parent
e2c8c7e603
commit
5096103e7e
@ -26,6 +26,7 @@ RUN dnf -y update && dnf install -y \
|
|||||||
libseccomp-devel \
|
libseccomp-devel \
|
||||||
libstdc++-devel \
|
libstdc++-devel \
|
||||||
libstdc++-static \
|
libstdc++-static \
|
||||||
|
protobuf-compiler \
|
||||||
m4 \
|
m4 \
|
||||||
make \
|
make \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
|
@ -244,6 +244,7 @@ generate_dockerfile()
|
|||||||
goarch=ppc64le
|
goarch=ppc64le
|
||||||
rustarch=powerpc64le
|
rustarch=powerpc64le
|
||||||
muslarch=powerpc64
|
muslarch=powerpc64
|
||||||
|
libc=gnu
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"aarch64")
|
"aarch64")
|
||||||
@ -337,7 +338,7 @@ RUN ln -sf /usr/bin/g++ /bin/musl-g++
|
|||||||
-e "s|@OS_VERSION@|${OS_VERSION:-}|g" \
|
-e "s|@OS_VERSION@|${OS_VERSION:-}|g" \
|
||||||
-e "s|@INSTALL_MUSL@||g" \
|
-e "s|@INSTALL_MUSL@||g" \
|
||||||
-e "s|@INSTALL_GO@|${install_go//$'\n'/\\n}|g" \
|
-e "s|@INSTALL_GO@|${install_go//$'\n'/\\n}|g" \
|
||||||
-e "s|@INSTALL_RUST@||g" \
|
-e "s|@INSTALL_RUST@|${install_rust//$'\n'/\\n}|g" \
|
||||||
-e "s|@SET_PROXY@|${set_proxy:-}|g" \
|
-e "s|@SET_PROXY@|${set_proxy:-}|g" \
|
||||||
"${dockerfile_template}" > Dockerfile
|
"${dockerfile_template}" > Dockerfile
|
||||||
# no musl target on s390x, will use GNU
|
# no musl target on s390x, will use GNU
|
||||||
|
Loading…
Reference in New Issue
Block a user