mirror of
https://github.com/ChronosX88/medved.git
synced 2024-11-23 07:02:19 +00:00
19 lines
510 B
Docker
19 lines
510 B
Docker
|
FROM medved_base:latest
|
||
|
|
||
|
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 /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
|
||
|
|
||
|
ADD files/torrc /etc/tor/torrc
|
||
|
|
||
|
ADD files/run.sh /tmp/run.sh
|
||
|
|
||
|
CMD ["/tmp/run.sh"]
|