From 4fdd51a1364cdb32a41da714e710cdc99e5ef879 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Wed, 7 Jun 2023 11:47:06 +0800 Subject: [PATCH] gmi docker fix python, index.html no icon --- gmi/docker/Dockerfile | 8 ++++---- images/nuclear.png | Bin 1997 -> 0 bytes index.gmi | 2 +- index.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 images/nuclear.png diff --git a/gmi/docker/Dockerfile b/gmi/docker/Dockerfile index 6789bdb..92571bc 100644 --- a/gmi/docker/Dockerfile +++ b/gmi/docker/Dockerfile @@ -2,14 +2,15 @@ FROM alpine:latest 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 \ - && apk add agate git \ + && apk add agate git python3 \ && 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 . # 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 # RUN mkdir /etc/periodic/1min \ @@ -17,5 +18,4 @@ COPY update-git.sh /etc/periotic/daily/ # >> /var/spool/cron/crontabs/root # COPY update-git.sh /etc/periodic/1min/ - CMD [ "./run-wrapper.sh" ] diff --git a/images/nuclear.png b/images/nuclear.png deleted file mode 100644 index 28c4802d2eaa4f6b4d9b1ecc4938d89cac977e93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1997 zcmV;;2Qv7HP)rM6Dfn53DEZJow8(P)i{({Te74MihvppI;^Jb3VUfNy{A-rGMA ziabz~b|&Bd?m6f8`+k4FbIhk%QK^8XTGGU~M(G^m>_@nLH2tW+sGBVJ61Hj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TLY+Ihri_eb0*4W1U?dRo| z4(|)9%8f3YzFM+9`o5b|Nq=m#C1TDezsZqe!;RG2-Q2BhXZBNx zk0tNI*-|TGED;I-Es|wf-QVEwtm{qwH~|2NB8!YV?c3Rz38vjYog|I1L=1?ytlGhA@0SEWzhn10 zT)`ExEPveJ+JQXHjC!rGPAh1Bog6EXJ3G}pGb3J`7-J?Sw(|z6IQfGhzRbfU|s7wZ&RIoswA{GHAs fGoZ)m*N*=H%nJh5xVa2300000NkvXXu0mjfhl0nu diff --git a/index.gmi b/index.gmi index 028b6ee..2665d47 100644 --- a/index.gmi +++ b/index.gmi @@ -2,5 +2,5 @@ (a fancy homepage coming soon) -=> posts posts +=> posts.gmi posts => https://dongdigua.github.io HyperTextMachineLearning site diff --git a/index.html b/index.html index 73936f2..9067674 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ ~dongdigua - +