Netdata container is Debian-based, not Alpine. Updated package manager from apk to apt-get for installing msmtp packages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
342 B
Docker
12 lines
342 B
Docker
# Dockerfile for Netdata with msmtp support for email alerts
|
|
FROM netdata/netdata:latest
|
|
|
|
# Install msmtp for sending emails
|
|
RUN apt-get update && \
|
|
apt-get install -y msmtp msmtp-mta ca-certificates && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set proper permissions for msmtp config
|
|
RUN chmod 600 /etc/msmtprc || true
|