fix(docker): add g++ to Dockerfile for presidio-analyzer compatibility (#5645)

This commit is contained in:
Sergio Garcia
2024-11-06 10:45:16 -05:00
committed by GitHub
parent e73fc14f62
commit 43efabef6c
+2 -2
View File
@@ -4,9 +4,9 @@ LABEL maintainer="https://github.com/prowler-cloud/prowler"
# Update system dependencies and install essential tools
#hadolint ignore=DL3018
RUN apk --no-cache upgrade && apk --no-cache add curl git
RUN apk --no-cache upgrade && apk --no-cache add curl git g++
# Create nonroot user
# Create non-root user
RUN mkdir -p /home/prowler && \
echo 'prowler:x:1000:1000:prowler:/home/prowler:' > /etc/passwd && \
echo 'prowler:x:1000:' > /etc/group && \