Block a user
netshoot (latest)
Published 2026-01-23 18:07:53 +01:00 by sido
Installation
docker pull gitea.oit.sk/sido/netshoot:latestsha256:2e66e010a8034847bb57ade2dac339bab9741520b9453f9799ea579454bc2540
Image Layers
| ADD alpine-minirootfs-3.23.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c set -ex && echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && apk update && apk upgrade && apk add --no-cache apache2-utils bash bind-tools bird bridge-utils busybox-extras conntrack-tools curl dhcping drill ethtool file fping iftop iperf iperf3 iproute2 ipset iptables iptraf-ng iputils ipvsadm httpie jq libc6-compat liboping ltrace mtr net-snmp-tools netcat-openbsd nftables ngrep nmap nmap-nping nmap-scripts openssl py3-pip py3-setuptools scapy socat speedtest-cli openssh oh-my-zsh strace tcpdump tcptraceroute trippy tshark util-linux vim git zsh websocat swaks perl-crypt-ssleay perl-net-ssleay # buildkit |
| COPY /tmp/ctop /usr/local/bin/ctop # buildkit |
| COPY /tmp/calicoctl /usr/local/bin/calicoctl # buildkit |
| COPY /tmp/termshark /usr/local/bin/termshark # buildkit |
| COPY /tmp/grpcurl /usr/local/bin/grpcurl # buildkit |
| COPY /tmp/fortio /usr/local/bin/fortio # buildkit |
| USER root |
| WORKDIR /root |
| ENV HOSTNAME=netshoot |
| RUN /bin/sh -c curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh # buildkit |
| RUN /bin/sh -c git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # buildkit |
| RUN /bin/sh -c git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k # buildkit |
| COPY zshrc .zshrc # buildkit |
| COPY motd motd # buildkit |
| RUN /bin/sh -c chmod -R g=u /root # buildkit |
| RUN /bin/sh -c chown root:root /usr/bin/dumpcap # buildkit |
| CMD ["zsh"] |