Created
April 10, 2024 06:54
-
-
Save junka/6859f3216206d0497f3307f371929fab to your computer and use it in GitHub Desktop.
docker multiarch下arm64的路径报错问题 /usr/local/sbin/dpkg-deb: No such file or directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
丑陋的解法是 | |
``` | |
RUN ln -s /usr/bin/dpkg-split /usr/sbin/dpkg-split | |
RUN ln -s /usr/bin/dpkg-deb /usr/sbin/dpkg-deb | |
RUN ln -s /bin/tar /usr/sbin/tar | |
``` | |
真实原因是qemu跑的arm模拟器的问题 | |
host安装一次qemu解决问题。。。。 | |
sudo apt-get install -y qemu-user-static |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment