Install ca-certificates on Docker image (#2888)

The ca-certificates package is necessary for Gophish to connect to webhooks using HTTPS.
This commit is contained in:
Philipp 2023-08-23 03:50:03 +02:00 committed by GitHub
parent d2efb18ef1
commit 04f0fb6dfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ FROM debian:stable-slim
RUN useradd -m -d /opt/gophish -s /bin/bash app RUN useradd -m -d /opt/gophish -s /bin/bash app
RUN apt-get update && \ RUN apt-get update && \
apt-get install --no-install-recommends -y jq libcap2-bin && \ apt-get install --no-install-recommends -y jq libcap2-bin ca-certificates && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*