aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cgit/bootstrap/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-09-13 17:32:12 +0000
committerterminaldweller <thabogre@gmail.com>2022-09-13 17:32:12 +0000
commit68e3be1f591e40925b4c5c3f57aee8d4e260ebbf (patch)
treef07a55bbb82c23c688d104ff24d61084f5f5b72b /terminaldweller.com/cgit/bootstrap/Dockerfile
parentupdates (diff)
downloadscripts-68e3be1f591e40925b4c5c3f57aee8d4e260ebbf.tar.gz
scripts-68e3be1f591e40925b4c5c3f57aee8d4e260ebbf.zip
update
Diffstat (limited to 'terminaldweller.com/cgit/bootstrap/Dockerfile')
-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"]