forked from debricked/dmarc-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Till Wiblishauser
committed
Dec 10, 2024
1 parent
e4421fc
commit eb3ecb6
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
FROM grafana/grafana:8.5.4 | ||
FROM grafana/grafana:latest | ||
|
||
ADD --chown=grafana:root https://raw.githubusercontent.com/domainaware/parsedmarc/master/grafana/Grafana-DMARC_Reports.json /var/lib/grafana/dashboards/ | ||
RUN chmod 644 /etc/grafana/provisioning | ||
|
||
COPY grafana-provisioning/ /etc/grafana/provisioning/ | ||
|
||
RUN sed -i 's/fixed_interval/interval/g' /var/lib/grafana/dashboards/Grafana-DMARC_Reports.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM python:3.9-alpine3.16 | ||
FROM python:3.11-alpine | ||
|
||
RUN apk add --update --no-cache libxml2-dev libxslt-dev | ||
RUN apk add --update --no-cache --virtual .build_deps build-base libffi-dev \ | ||
&& pip install parsedmarc \ | ||
&& apk del .build_deps | ||
|
||
COPY parsedmarc.ini / | ||
#COPY GeoLite2-Country.mmdb /usr/share/GeoIP/GeoLite2-Country.mmdb | ||
#COPY GeoLite2-Country.mmdb /usr/share/GeoIP/GeoLite2-Country.mmdb |