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
#!/usr/bin/env bash | |
# Time-stamp: <2014-07-31 13:31:43 (ryanc)> | |
# Time-stamp: <2024-09-26 21:52:50 (junjie.wan)> | |
# | |
# Description: Mirror traffic between two interfaces using Linux's | |
# traffic control subsystem (tc) | |
trap cleanup EXIT | |
CLEANUP=1 |
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
# syntax = docker/dockerfile:experimental | |
FROM debian:buster | |
LABEL maintainer="[email protected]" | |
ARG VER | |
ARG DEBIAN_FRONTEND=noninteractive | |
ARG TARGETARCH | |
RUN apt-get update | |
RUN apt-get -qy install curl ca-certificates |
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解决问题。。。。 |