mirror of
https://github.com/byReqz/netdiscover-docker.git
synced 2024-12-25 14:21:48 +00:00
changed startup and daemonized tmux
This commit is contained in:
parent
812ea6c447
commit
76359ecbb8
@ -1,10 +1,12 @@
|
||||
FROM debian:sid
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y curl jq netdiscover
|
||||
RUN apt-get install -y curl jq netdiscover tmux
|
||||
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
|
||||
|
||||
ENV TERM=xterm
|
||||
COPY run.sh ./run.sh
|
||||
RUN chmod +x ./run.sh
|
||||
RUN tmux new-session -d -A -s netdiscover netdiscover
|
||||
ENTRYPOINT ["/run.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user