Commit f146b30e authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

/var/pubkeys should exist

parent 165a61f4
......@@ -35,12 +35,14 @@ RUN rm -rf /etc/cron.*/* \
&& echo "*/15 * * * * root /bin/chown root:root /etc/cron.d/* && /bin/chmod u=rw,go= /etc/cron.d/*" >> /etc/crontab \
&& echo "*/15 * * * * root sed -i -r -e '$ s/^(.+)$/\\\1\\\n/' /etc/cron.d/*" >> /etc/crontab
RUN mkdir /var/pubkeys
# yeah, we kind of need that
ADD run.sh /run.sh
RUN chmod +x /run.sh
# cron volumes
VOLUME ["/etc/cron.d", "/etc/cron.daily", "/etc/cron.hourly", "/etc/cron.monthly", "/etc/cron.weekly"]
VOLUME ["/etc/cron.d", "/etc/cron.daily", "/etc/cron.hourly", "/etc/cron.monthly", "/etc/cron.weekly", "/var/pubkeys"]
# well
WORKDIR /etc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment