2025-11-08 19:27:06 +01:00
|
|
|
# Dockerfile for Netdata with msmtp support for email alerts
|
|
|
|
|
FROM netdata/netdata:latest
|
|
|
|
|
|
|
|
|
|
# Install msmtp for sending emails
|
2025-11-08 19:27:36 +01:00
|
|
|
RUN apt-get update && \
|
|
|
|
|
apt-get install -y msmtp msmtp-mta ca-certificates && \
|
|
|
|
|
apt-get clean && \
|
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2025-11-08 19:27:06 +01:00
|
|
|
|
|
|
|
|
# Set proper permissions for msmtp config
|
|
|
|
|
RUN chmod 600 /etc/msmtprc || true
|