From c6c108bc46d426e961f387ed1caa1726d05af4d2 Mon Sep 17 00:00:00 2001 From: Philipp Eder Date: Mon, 11 Nov 2024 10:25:17 +0100 Subject: [PATCH] Adds runtime dependencies for openvas --- .devcontainer/Dockerfile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5d51cc2ca..75f889205 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,7 +2,21 @@ FROM rust:latest ARG UID=1000 ARG GID=1000 -RUN apt-get update && apt-get install -y sudo git rsync pipx redis-server clangd +RUN apt-get update && apt-get install -y \ + sudo \ + git \ + rsync \ + pipx \ + redis-server \ + clangd \ + # Runtime dependencies, required for .devcontainer + nmap \ + snmp \ + netdiag \ + pnscan \ + # net-tools is required by some nasl plugins. + # nasl_pread: Failed to execute child process “netstat” (No such file or directory) + net-tools # Add prepare-user-dirs.sh and execcute it COPY prepare-user-dirs.sh /prepare-user-dirs.sh COPY build-cmake-project.sh /usr/local/bin/build-cmake-project.sh