Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dockerfile for build image with Nemesida Scanner
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 stretch non-free" > /etc/apt/sources.list.d/NemesidaScanner.list &&\
apt install gnupg -y &&\
apt install gnupg2 -y &&\
apt install gnupg1 -y &&\
wget -O - | 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 &&\
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