netdiscover-docker/Dockerfile

12 lines
392 B
Docker
Raw Permalink Normal View History

2021-05-29 16:18:29 +00:00
FROM debian:sid
RUN apt-get update
2021-05-29 18:26:21 +00:00
RUN apt-get install -y curl jq netdiscover tmux
2021-05-29 16:18:29 +00:00
RUN curl -s https://api.github.com/repos/yudai/gotty/releases/latest | jq -r '.assets[].browser_download_url' | grep "gotty_linux_amd64.tar.gz" | xargs curl -L -o gotty_linux_amd64.tar.gz
RUN tar xvfz gotty_linux_amd64.tar.gz
2021-05-29 18:26:21 +00:00
ENV TERM=xterm
2021-05-29 16:18:29 +00:00
COPY run.sh ./run.sh
RUN chmod +x ./run.sh
ENTRYPOINT ["/run.sh"]