mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-23 23:53:10 +08:00
gmi docker fix python, index.html no icon
This commit is contained in:
parent
ab7fdc4660
commit
4fdd51a136
@ -2,14 +2,15 @@ FROM alpine:latest
|
|||||||
|
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
||||||
&& sed -i 'a https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/testing' /etc/apk/repositories \
|
&& sed -i 'a https://mirrors.tuna.tsinghua.edu.cn/alpine/edge/testing' /etc/apk/repositories \
|
||||||
&& apk add agate git \
|
&& apk add agate git python3 \
|
||||||
&& touch /var/log/git.log
|
&& touch /var/log/git.log
|
||||||
|
|
||||||
RUN git clone https://github.com/dongdigua/dongdigua.github.io.git --depth 1
|
RUN git clone https://github.com/dongdigua/dongdigua.github.io.git --depth 1 \
|
||||||
|
&& echo "0 * * * * run-parts /etc/periodic/hourly" > /var/spool/cron/crontabs/root
|
||||||
|
|
||||||
COPY run-wrapper.sh .
|
COPY run-wrapper.sh .
|
||||||
# https://weinan.io/2019/04/06/cron.html
|
# https://weinan.io/2019/04/06/cron.html
|
||||||
COPY update-git.sh /etc/periotic/daily/
|
COPY update-git.sh /etc/periotic/hourly/
|
||||||
|
|
||||||
# for testing purpose only
|
# for testing purpose only
|
||||||
# RUN mkdir /etc/periodic/1min \
|
# RUN mkdir /etc/periodic/1min \
|
||||||
@ -17,5 +18,4 @@ COPY update-git.sh /etc/periotic/daily/
|
|||||||
# >> /var/spool/cron/crontabs/root
|
# >> /var/spool/cron/crontabs/root
|
||||||
# COPY update-git.sh /etc/periodic/1min/
|
# COPY update-git.sh /etc/periodic/1min/
|
||||||
|
|
||||||
|
|
||||||
CMD [ "./run-wrapper.sh" ]
|
CMD [ "./run-wrapper.sh" ]
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
(a fancy homepage coming soon)
|
(a fancy homepage coming soon)
|
||||||
|
|
||||||
=> posts posts
|
=> posts.gmi posts
|
||||||
=> https://dongdigua.github.io HyperTextMachineLearning site
|
=> https://dongdigua.github.io HyperTextMachineLearning site
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>~dongdigua</title>
|
<title>~dongdigua</title>
|
||||||
<meta name=author content="dongdigua's blog">
|
<meta name=author content="dongdigua's blog">
|
||||||
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
|
<link rel=license href=https://creativecommons.org/licenses/by/4.0/>
|
||||||
<link rel="shortcut icon" href=./images/nuclear.png>
|
<link rel="icon" href="data:;base64,=">
|
||||||
<style>
|
<style>
|
||||||
*{scrollbar-color:gray #404040}
|
*{scrollbar-color:gray #404040}
|
||||||
*::selection{background:#434C5E}
|
*::selection{background:#434C5E}
|
||||||
|
Loading…
Reference in New Issue
Block a user