medved/docker/worker/Dockerfile

17 lines
482 B
Docker
Raw Normal View History

2018-04-02 22:41:10 +00:00
FROM medved_base:latest
2018-08-04 11:44:27 +00:00
RUN pacman -S --noconfirm --needed git libpcap linux-headers clang tor
RUN git clone https://github.com/robertdavidgraham/masscan && \
cd masscan && \
make -j && \
mv bin/masscan /usr/bin/masscan
RUN wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz && gunzip GeoLiteCity.dat.gz
RUN mkdir -p /usr/share/GeoIP/ && mv GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
2018-04-02 22:41:10 +00:00
ADD files/run.sh /tmp/run.sh
CMD ["/tmp/run.sh"]