minetest_manager/Dockerfile
dependabot-preview[bot] cd3777fb0b Bump alpine from 3.12.0 to 3.12.1
Bumps alpine from 3.12.0 to 3.12.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 07:58:36 +01:00

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"]