update
parent
532042891b
commit
ac8aae7f4a
14
Dockerfile
14
Dockerfile
|
@ -6,9 +6,9 @@ RUN touch shell.sh
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# gterm \
|
# gterm \
|
||||||
curl -fsSL https://kumoly.io/attachments/acfc99c7-28c7-4886-bb7d-783c3a6a8c64 | 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/cefc7869-2a61-4487-a155-ad891cea9abd | tar -C /usr/local/bin/ -xz &&\
|
curl -fsSL https://kumoly.io/attachments/9994192c-eca8-481c-bdb9-3d9f440c5c53 | 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 echo '#!/bin/sh\n\
|
RUN echo '#!/bin/sh\n\
|
||||||
|
@ -28,9 +28,17 @@ RUN echo '\
|
||||||
reverse_proxy localhost:8001\n\
|
reverse_proxy localhost:8001\n\
|
||||||
}' > Caddyfile
|
}' > Caddyfile
|
||||||
|
|
||||||
|
RUN echo '\
|
||||||
|
{{ define "links" }}\n\
|
||||||
|
<a class="button is-white level-item" \n\
|
||||||
|
href="sh/"\n\
|
||||||
|
>Shell</a>\n\
|
||||||
|
{{end}}\n\
|
||||||
|
' > links.tmpl
|
||||||
|
|
||||||
RUN echo '{"app_name":"Go Playground","no_reconfig":true \
|
RUN echo '{"app_name":"Go Playground","no_reconfig":true \
|
||||||
,"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}' > conf.json
|
,"hide_config":true,"cust":"."}' > conf.json
|
||||||
|
|
||||||
RUN echo 'package main\n\
|
RUN echo 'package main\n\
|
||||||
\n\
|
\n\
|
||||||
|
|
Loading…
Reference in New Issue