Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dockerfile for build image with Nemesida Scanner
Dockerfile
----------------------------------------------------------------------------------------------------------------------
FROM debian
RUN apt-get update &&\
apt-get upgrade -y &&\
apt-get dist-upgrade -y &&\
apt install wget -y &&\
apt-get update && apt-get install apt-transport-https -y &&\
echo "deb https://nemesida-security.com/ns/debian stretch non-free" > /etc/apt/sources.list.d/NemesidaScanner.list &&\
apt install gnupg -y &&\
apt install gnupg2 -y &&\
apt install gnupg1 -y &&\
wget -O - https://nemesida-security.com/ns/gpg.key | apt-key add - &&\
apt-get update && apt-get upgrade -y && apt-get install nscanner-cli -y &&\
cd /opt/nscanner-cli &&\
rm -r nscanner-cli.conf &&\
wget https://s3.eu-west-2.amazonaws.com/projects-transfer/nscanner-cli.conf
EXPOSE 80/tcp
CMD [ "bash" ]
---------------------------------------------
Build command:
docker build -t nemesida_scanner -f Dockerfile .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.