diff --git a/Dockerfile b/Dockerfile index ac91b94818ac3ddc5e4a2416895b6d8f79c403ce..e65cb31dab3e542d02f3b9125ce2ce110be59717 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,7 @@ RUN pip3 install Mastodon.py feedparser feed2toot RUN pip install Mastodon.py RUN mkdir /root/.config +RUN sed -i '/session required pam_loginuid.so/c\#session required pam_loginuid.so' /etc/pam.d/cron + # Run the command on container startup CMD crontab /etc/cron.d/* && cron -f