ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:233702cd816c07bc9fed02881b11fb3bdcaee41f3ce3ec1c9f0c4a060b155d5b in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt-get update -y # buildkit |
RUN /bin/sh -c useradd -m -s /bin/bash prouser # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -y tcpdump libcap2-bin # buildkit |
RUN /bin/sh -c setcap cap_net_raw,cap_net_admin=eip /usr/sbin/tcpdump && mkdir /capture && chown prouser:prouser /capture # buildkit |
USER prouser |
CMD ["tcpdump" "-w" "/capture/capture.pcap"] |