From b8669e3b00eb70b47f011ee5cc551464799c8227 Mon Sep 17 00:00:00 2001 From: Luc Bijl Date: Sun, 17 Aug 2025 14:04:53 +0200 Subject: [PATCH] containerfiles: remove --- .../git-mkdocs-wiki/default.conf.env | 15 ----------- .../git-mkdocs-wiki/git-mkdocs-wiki | 10 -------- .../git-mkdocs-wiki.containerfile | 25 ------------------- containerfiles/git-mkdocs-wiki/root | 3 --- containerfiles/git-mkdocs/default.conf.env | 15 ----------- containerfiles/git-mkdocs/git-mkdocs | 6 ----- .../git-mkdocs/git-mkdocs.containerfile | 25 ------------------- containerfiles/git-mkdocs/root | 3 --- 8 files changed, 102 deletions(-) delete mode 100644 containerfiles/git-mkdocs-wiki/default.conf.env delete mode 100644 containerfiles/git-mkdocs-wiki/git-mkdocs-wiki delete mode 100644 containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.containerfile delete mode 100644 containerfiles/git-mkdocs-wiki/root delete mode 100644 containerfiles/git-mkdocs/default.conf.env delete mode 100644 containerfiles/git-mkdocs/git-mkdocs delete mode 100644 containerfiles/git-mkdocs/git-mkdocs.containerfile delete mode 100644 containerfiles/git-mkdocs/root diff --git a/containerfiles/git-mkdocs-wiki/default.conf.env b/containerfiles/git-mkdocs-wiki/default.conf.env deleted file mode 100644 index 5111323..0000000 --- a/containerfiles/git-mkdocs-wiki/default.conf.env +++ /dev/null @@ -1,15 +0,0 @@ -server { - listen $PORT; - listen [::]:${PORT}; - server_name localhost; - - location / { - root /usr/share/nginx/html; - index index.html index.htm; - } - - error_page 500 502 503 504 /50x.html; - location = /50.html { - root /usr/share/nginx/html; - } -} \ No newline at end of file diff --git a/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki b/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki deleted file mode 100644 index e9a7dc5..0000000 --- a/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -exec 2>&1 -find /mkdocs/repo || git clone $GIT_REPO_URL /mkdocs/repo -cd /mkdocs/repo && git pull - -for lang in $WIKI_LANG -do - mkdocs build -f /mkdocs/repo/config/${lang}/mkdocs.yml -d /usr/share/nginx/html/${lang} -done \ No newline at end of file diff --git a/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.containerfile b/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.containerfile deleted file mode 100644 index dbbf612..0000000 --- a/containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.containerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM nginx:alpine - -ENV PORT="80" -COPY default.conf.env /etc/nginx/conf.d/default.conf.env - -RUN apk add envsubst \ - && touch /docker-entrypoint.d/port.sh \ - && echo "exec envsubst < /etc/nginx/conf.d/default.conf.env > /etc/nginx/conf.d/default.conf && nginx -s reload" > /docker-entrypoint.d/port.sh \ - && chmod 776 /docker-entrypoint.d/port.sh - -RUN apk add git \ - && apk add mkdocs \ - && apk add mkdocs-material \ - && apk add py3-regex - -RUN mkdir /mkdocs -WORKDIR /mkdocs - -COPY root /etc/crontabs/root -COPY git-mkdocs-wiki /bin/git-mkdocs-wiki -RUN chmod 744 /bin/git-mkdocs-wiki - -RUN touch /docker-entrypoint.d/cron.sh \ - && echo "exec crond" > /docker-entrypoint.d/cron.sh \ - && chmod 776 /docker-entrypoint.d/cron.sh \ No newline at end of file diff --git a/containerfiles/git-mkdocs-wiki/root b/containerfiles/git-mkdocs-wiki/root deleted file mode 100644 index aace2f3..0000000 --- a/containerfiles/git-mkdocs-wiki/root +++ /dev/null @@ -1,3 +0,0 @@ -# do daily/weekly/monthly maintanance -# min hour day month weekday command -* * * * * git-mkdocs-wiki \ No newline at end of file diff --git a/containerfiles/git-mkdocs/default.conf.env b/containerfiles/git-mkdocs/default.conf.env deleted file mode 100644 index 5111323..0000000 --- a/containerfiles/git-mkdocs/default.conf.env +++ /dev/null @@ -1,15 +0,0 @@ -server { - listen $PORT; - listen [::]:${PORT}; - server_name localhost; - - location / { - root /usr/share/nginx/html; - index index.html index.htm; - } - - error_page 500 502 503 504 /50x.html; - location = /50.html { - root /usr/share/nginx/html; - } -} \ No newline at end of file diff --git a/containerfiles/git-mkdocs/git-mkdocs b/containerfiles/git-mkdocs/git-mkdocs deleted file mode 100644 index 60a65d9..0000000 --- a/containerfiles/git-mkdocs/git-mkdocs +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -exec 2>&1 -find /mkdocs/repo || git clone $GIT_REPO_URL /mkdocs/repo -cd /mkdocs/repo && git pull -exec mkdocs build -f /mkdocs/repo/mkdocs.yml -d /usr/share/nginx/html \ No newline at end of file diff --git a/containerfiles/git-mkdocs/git-mkdocs.containerfile b/containerfiles/git-mkdocs/git-mkdocs.containerfile deleted file mode 100644 index 1d02ab4..0000000 --- a/containerfiles/git-mkdocs/git-mkdocs.containerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM nginx:alpine - -ENV PORT="80" -COPY default.conf.env /etc/nginx/conf.d/default.conf.env - -RUN apk add envsubst \ - && touch /docker-entrypoint.d/port.sh \ - && echo "exec envsubst < /etc/nginx/conf.d/default.conf.env > /etc/nginx/conf.d/default.conf && nginx -s reload" > /docker-entrypoint.d/port.sh \ - && chmod 776 /docker-entrypoint.d/port.sh - -RUN apk add git \ - && apk add mkdocs \ - && apk add mkdocs-material \ - && apk add py3-regex - -RUN mkdir /mkdocs -WORKDIR /mkdocs - -COPY root /etc/crontabs/root -COPY git-mkdocs /bin/git-mkdocs -RUN chmod 744 /bin/git-mkdocs - -RUN touch /docker-entrypoint.d/cron.sh \ - && echo "exec crond" > /docker-entrypoint.d/cron.sh \ - && chmod 776 /docker-entrypoint.d/cron.sh \ No newline at end of file diff --git a/containerfiles/git-mkdocs/root b/containerfiles/git-mkdocs/root deleted file mode 100644 index d260f99..0000000 --- a/containerfiles/git-mkdocs/root +++ /dev/null @@ -1,3 +0,0 @@ -# do daily/weekly/monthly maintanance -# min hour day month weekday command -* * * * * git-mkdocs \ No newline at end of file