master
Evan Chen 2021-11-18 02:00:19 +08:00
parent d9b15f1b5d
commit 8894346152
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN \
# gterm \ # gterm \
curl -fsSL https://kumoly.io/attachments/e4bdde2a-4247-446f-a734-df3962c8b83b | tar -C /usr/local/bin/ -xz &&\ curl -fsSL https://kumoly.io/attachments/e4bdde2a-4247-446f-a734-df3962c8b83b | tar -C /usr/local/bin/ -xz &&\
# configui \ # configui \
curl -fsSL https://kumoly.io/attachments/51242c47-842a-476f-8c40-7698cdbaab5c | tar -C /usr/local/bin/ -xz &&\ curl -fsSL https://kumoly.io/attachments/e4258c02-1e79-4969-b553-070668498dd4 | tar -C /usr/local/bin/ -xz &&\
curl -fsSL https://github.com/caddyserver/caddy/releases/download/v2.4.6/caddy_2.4.6_linux_amd64.tar.gz | tar -C /usr/local/bin/ -xz curl -fsSL https://github.com/caddyserver/caddy/releases/download/v2.4.6/caddy_2.4.6_linux_amd64.tar.gz | tar -C /usr/local/bin/ -xz
RUN touch shell.sh && \ RUN touch shell.sh && \
@ -33,7 +33,7 @@ echo '\
>Shell</a>\n\ >Shell</a>\n\
{{end}}\n\ {{end}}\n\
' > links.tmpl && \ ' > links.tmpl && \
echo '{"app_name":"Go Playground","no_reconfig":true,"shell": "/bin/bash" \ echo '{"app_name":"Go Playground","no_reconfig":true,"shell": "sh" \
,"files":[{"path":"main.go","name":"Main","action":"go run main.go","order":-1},{"path":"shell.sh","name":"Shell","action":"bash shell.sh","order":1}] \ ,"files":[{"path":"main.go","name":"Main","action":"go run main.go","order":-1},{"path":"shell.sh","name":"Shell","action":"bash shell.sh","order":1}] \
,"hide_config":true,"cust":"."}' > conf.json && \ ,"hide_config":true,"cust":"."}' > conf.json && \
echo 'package main\n\ echo 'package main\n\