mirror of
https://github.com/byReqz/netdiscover-docker.git
synced 2024-11-22 01:21:16 +00:00
initial release
This commit is contained in:
parent
e19e4ab5e8
commit
940a9c1209
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM debian:sid
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y curl jq netdiscover
|
||||
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
|
||||
|
||||
COPY run.sh ./run.sh
|
||||
RUN chmod +x ./run.sh
|
||||
ENTRYPOINT ["/run.sh"]
|
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
netdiscover-docker:
|
||||
container_name: netdiscover-docker
|
||||
network_mode: host
|
||||
image: byreqz/netdiscover-docker:latest
|
||||
restart: unless-stopped
|
||||
# environment:
|
||||
# - port=1234
|
||||
# - userpass=user:pass
|
||||
# - title=1234
|
Loading…
Reference in New Issue
Block a user