aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cgit/bootstrap/Dockerfile
blob: 2467f366a6c3d9380d993bf9a7c1ef5247deeff3 (plain) (blame)
1
2
3
4
5
6
7
8
FROM alpine:3.16
RUN apk update && apk add --no-cache git cronie busybox-initscripts
# RUN rc-service crond start && rc-update add crond
COPY ./bootstrap.sh /bootstrap.sh 
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
COPY ./crontab /etc/crontabs/root
RUN chmod 0744 /bootstrap.sh
ENTRYPOINT ["/docker-entrypoint.sh"]