Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
docker-cron
Commits
f146b30e
Commit
f146b30e
authored
Mar 09, 2016
by
Michał 'rysiek' Woźniak
Browse files
/var/pubkeys should exist
parent
165a61f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Dockerfile
Dockerfile
+3
-1
No files found.
Dockerfile
View file @
f146b30e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment