aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cgit/bootstrap
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-22 17:36:07 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-22 17:36:07 +0000
commitc836ea89a48f53ec1dd05c1dcdc606bb44c8b619 (patch)
tree22882efad0fdc677d353dec723d813825bbcb5d2 /terminaldweller.com/cgit/bootstrap
parentupdate (diff)
downloadscripts-c836ea89a48f53ec1dd05c1dcdc606bb44c8b619.tar.gz
scripts-c836ea89a48f53ec1dd05c1dcdc606bb44c8b619.zip
update
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/cgit/bootstrap/Dockerfile8
-rwxr-xr-xterminaldweller.com/cgit/bootstrap/bootstrap.sh1
-rw-r--r--terminaldweller.com/cgit/bootstrap/crontab1
-rwxr-xr-xterminaldweller.com/cgit/bootstrap/docker-entrypoint.sh2
4 files changed, 6 insertions, 6 deletions
diff --git a/terminaldweller.com/cgit/bootstrap/Dockerfile b/terminaldweller.com/cgit/bootstrap/Dockerfile
index 2467f36..be4f278 100644
--- a/terminaldweller.com/cgit/bootstrap/Dockerfile
+++ b/terminaldweller.com/cgit/bootstrap/Dockerfile
@@ -1,8 +1,10 @@
FROM alpine:3.16
-RUN apk update && apk add --no-cache git cronie busybox-initscripts
+#RUN apk update && apk add --no-cache git cronie busybox-initscripts
+RUN apk update && apk add --no-cache git apk-cron
# 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
+COPY ./cron /etc/periodic/15min/cron
+# COPY ./crontab /etc/crontabs/root
+# RUN chmod 0744 /bootstrap.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
diff --git a/terminaldweller.com/cgit/bootstrap/bootstrap.sh b/terminaldweller.com/cgit/bootstrap/bootstrap.sh
index 3481546..ba2e1b0 100755
--- a/terminaldweller.com/cgit/bootstrap/bootstrap.sh
+++ b/terminaldweller.com/cgit/bootstrap/bootstrap.sh
@@ -14,7 +14,6 @@ REPOS="cgrep \
devourer \
hived \
mdrtl \
- simplex \
scripts \
vagrantboxes \
dockerimages \
diff --git a/terminaldweller.com/cgit/bootstrap/crontab b/terminaldweller.com/cgit/bootstrap/crontab
deleted file mode 100644
index 2346740..0000000
--- a/terminaldweller.com/cgit/bootstrap/crontab
+++ /dev/null
@@ -1 +0,0 @@
-0 */6 * * * /bootstrap.sh --update
diff --git a/terminaldweller.com/cgit/bootstrap/docker-entrypoint.sh b/terminaldweller.com/cgit/bootstrap/docker-entrypoint.sh
index d6d7009..2f67a11 100755
--- a/terminaldweller.com/cgit/bootstrap/docker-entrypoint.sh
+++ b/terminaldweller.com/cgit/bootstrap/docker-entrypoint.sh
@@ -5,4 +5,4 @@ set -x
. /bootstrap.sh
bootstrap
update_repos
-crond -n -s -P
+crond -f -l 2