cd3777fb0b
Bumps alpine from 3.12.0 to 3.12.1. Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
17 lines
472 B
Docker
17 lines
472 B
Docker
FROM alpine:3.12.1
|
|
|
|
# prepare minute job dir for crond
|
|
RUN mkdir /etc/periodic/minute
|
|
RUN echo "* * * * * run-parts /etc/periodic/minute" >> /etc/crontabs/root
|
|
|
|
# add deps
|
|
RUN apk add git logrotate openssl
|
|
|
|
# add local files
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
COPY ./jobs/updateworldmods.sh /etc/periodic/minute/updateworldmods
|
|
COPY ./jobs/collectstatic.sh /etc/periodic/15min/collectstatic
|
|
COPY ./jobs/logrotate.sh /etc/periodic/minute/logrotate
|
|
|
|
CMD ["/entrypoint.sh"]
|