aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cgit/bootstrap/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/cgit/bootstrap/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/terminaldweller.com/cgit/bootstrap/Dockerfile b/terminaldweller.com/cgit/bootstrap/Dockerfile
new file mode 100644
index 0000000..73e757a
--- /dev/null
+++ b/terminaldweller.com/cgit/bootstrap/Dockerfile
@@ -0,0 +1,7 @@
+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
+ENTRYPOINT ["/bootstrap.sh"]