mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-23 19:43:08 +08:00
gemini play with docker
This commit is contained in:
parent
6f8a769959
commit
027b0fbb5c
@ -1,4 +1,5 @@
|
||||
# Clean My Home Directory
|
||||
2023-05-13 Sat
|
||||
|
||||
Luke Smith's Video:
|
||||
=> https://videos.lukesmith.xyz/w/t5WcCYv58zDur45LRC1KFE Spring Cleaning your Home! (~/, That is...)
|
||||
|
@ -21,7 +21,7 @@ SDF Public Access UNIX System .. Est. 1987
|
||||
=> gemini://gem.sdf.org/oak3/ ++ Oak3's Cafe Gem
|
||||
=> gopher://circumlunar.space + Circumlunar
|
||||
=> gemini://gemini.circumlunar.space/~solderpunk/ ++ solderpunk
|
||||
the founder
|
||||
the creater of gemini
|
||||
> This is where I "eat my own dogfood"
|
||||
=> gemini://gemini.circumlunar.space/users/hundredrabbits/ ++ HundredRabbits
|
||||
exploring and documenting minimum viable solutions for living and technological tooling
|
||||
@ -44,3 +44,5 @@ Gemcast, Esperanto
|
||||
undergoes frequent maintenance, PDA?
|
||||
=> gemini://gemini.cyberbot.space/smolzine/ ++ smolzine
|
||||
=> gemini://warmedal.se/~bjorn + bjorn
|
||||
=> gemini://ploum.net/index_en.gmi + Ploum
|
||||
author of offpunk
|
||||
|
13
gmi/docker/Dockerfile
Normal file
13
gmi/docker/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
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
|
||||
|
||||
RUN git clone https://github.com/dongdigua/dongdigua.github.io.git --depth 1
|
||||
|
||||
COPY run-wrapper.sh .
|
||||
COPY update-git.sh /etc/periotic/daily/
|
||||
|
||||
|
||||
CMD [ "./run-wrapper.sh" ]
|
7
gmi/docker/run-wrapper.sh
Executable file
7
gmi/docker/run-wrapper.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
crond -f &
|
||||
agate --content dongdigua.github.io/gmi --hostname $GEMINI_HOST
|
||||
|
||||
wait -n
|
||||
echo $?
|
4
gmi/docker/update-git.sh
Executable file
4
gmi/docker/update-git.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#! /bin/sh
|
||||
|
||||
cd dongdigua.github.io
|
||||
git pull --rebase
|
@ -15,6 +15,7 @@ var data = [
|
||||
"我们从这里启航♫",
|
||||
"Learn. Unlearn. Relearn.",
|
||||
"My .emacs have 600+ lines!",
|
||||
"Reduce the frequency of your Github CI crontab to protect the environment.",
|
||||
|
||||
"The internet is FULL, go away!",
|
||||
"<a id=quote href=new_blog_arch>May the --force be with you</a>",
|
||||
|
Loading…
Reference in New Issue
Block a user