How to use `docker build` with openvas-scanner?
drAliRahnema opened this issue · 2 comments
drAliRahnema commented
cd ./.docker
docker build -t openvas prod.dockerfile
==================res==================
CMake Error: The source directory "/source" does not appear to contain CMakeLists.txt.
y0urself commented
You need to build the docker file from the source/root directory, not from the .docker
directory.
The context than needs to be the root directory, not the .docker
directory.
E.g.:
docker build -t test-openvas .docker/prod.Dockerfile .
y0urself commented
You can also just pull the docker image from docker hub instead of building it by yourself.
e.g.: docker pull greenbone/openvas-scanner