Dockerfile: install g++-multilib
Some recipes, especially meta-qt5 packages, requires g++-multilib in the host as stated in a few projects issues [1] [2]. [1] https://github.com/siemens/meta-iot2000/issues/18#issuecomment-293417336 [2] https://github.com/meta-qt5/meta-qt5/issues/348#issuecomment-677154661 Install the package in the kas container. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> [Jan: fix arm64 build] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
460699685e
commit
3484f1c208
@ -21,7 +21,7 @@ RUN apt-get install --no-install-recommends -y \
|
|||||||
dosfstools mtools parted lz4 \
|
dosfstools mtools parted lz4 \
|
||||||
git-lfs/buster-backports mercurial iproute2 ssh-client curl rsync gnupg awscli sudo && \
|
git-lfs/buster-backports mercurial iproute2 ssh-client curl rsync gnupg awscli sudo && \
|
||||||
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
|
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
|
||||||
apt-get install --no-install-recommends -y gcc-multilib syslinux; \
|
apt-get install --no-install-recommends -y gcc-multilib g++-multilib syslinux; \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
Loading…
Reference in New Issue
Block a user