Skip to content

Instantly share code, notes, and snippets.

View junka's full-sized avatar
🥼
life is f**ked

Junjie junka

🥼
life is f**ked
View GitHub Profile
@junka
junka / docker multiarch arm64 build
Created April 10, 2024 06:54
docker multiarch下arm64的路径报错问题 /usr/local/sbin/dpkg-deb: No such file or directory
丑陋的解法是
```
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解决问题。。。。