diff --git a/hooks/persistence-elastic/dashboard-importer/Dockerfile b/hooks/persistence-elastic/dashboard-importer/Dockerfile index b809bbd02d..e7b55f396d 100644 --- a/hooks/persistence-elastic/dashboard-importer/Dockerfile +++ b/hooks/persistence-elastic/dashboard-importer/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -FROM alpine:3.22 +FROM alpine:3.23 RUN apk add --no-cache curl bash diff --git a/scanners/nikto/scanner/Dockerfile b/scanners/nikto/scanner/Dockerfile index f49753c78a..4618f0cfd5 100644 --- a/scanners/nikto/scanner/Dockerfile +++ b/scanners/nikto/scanner/Dockerfile @@ -2,12 +2,12 @@ # # SPDX-License-Identifier: Apache-2.0 -FROM alpine:3.22 AS build +FROM alpine:3.23 AS build ARG scannerVersion RUN apk add git RUN git clone --depth 1 https://github.com/sullo/nikto.git /nikto -FROM alpine:3.22 +FROM alpine:3.23 ENV PATH=${PATH}:/nikto diff --git a/scanners/nmap/scanner/Dockerfile b/scanners/nmap/scanner/Dockerfile index 412cbbb33f..7ed1f3865b 100644 --- a/scanners/nmap/scanner/Dockerfile +++ b/scanners/nmap/scanner/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -FROM alpine:3.22 +FROM alpine:3.23 ARG scannerVersion RUN apk add --no-cache nmap=$scannerVersion nmap-scripts=$scannerVersion RUN addgroup --system --gid 1001 nmap && adduser nmap --system --uid 1001 --ingroup nmap diff --git a/scanners/test-scan/scanner/Dockerfile b/scanners/test-scan/scanner/Dockerfile index 95da799e08..36572dc1b5 100644 --- a/scanners/test-scan/scanner/Dockerfile +++ b/scanners/test-scan/scanner/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -FROM alpine:3.22 +FROM alpine:3.23 RUN addgroup --system --gid 1001 test && adduser test --system --uid 1001 --ingroup test WORKDIR /home/securecodebox/ USER 1001