AlmaLinux / errata-email-notifications

GNU General Public License v3.0
0 stars 3 forks source link

Put into container #8

Open russellshackleford opened 1 year ago

russellshackleford commented 1 year ago

I played around with a Dockerfile that can build an image with the email address, pw, and default distributions defined (or overridden in the container). The latter is certainly better if you plan to publish such an image. It runs fine in a cron job. The log file and timestamp files are bind mounted into the same dir as the Dockerfile to retain state. So far so good. Currently, the Dockerfile is in a private github repo, but if there is any interest in moving to a consumable image, I'd be willing to help out.