containerfiles: remove
This commit is contained in:
parent
a6901b271b
commit
b8669e3b00
8 changed files with 0 additions and 102 deletions
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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
|
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
# do daily/weekly/monthly maintanance
|
||||
# min hour day month weekday command
|
||||
* * * * * git-mkdocs-wiki
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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
|
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
# do daily/weekly/monthly maintanance
|
||||
# min hour day month weekday command
|
||||
* * * * * git-mkdocs
|
Loading…
Add table
Add a link
Reference in a new issue