mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
8d957e603c
commit
93cd0e2f94
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
ISH_CONF_WORK=~/usr/local/work
|
||||
export ctx_dev=http://localhost:9020
|
||||
export ctx_dev=http://172.30.8.42:9020
|
||||
if [ -f ~/.ish/plug.sh ] && source ~/.ish/plug.sh; then
|
||||
require conf.sh
|
||||
|
||||
|
@ -58,3 +58,4 @@
|
||||
target web.chat.fyne.hi
|
||||
target web.wiki.alpha.load
|
||||
target web.code.input.push
|
||||
target web.code.qrc.save
|
||||
|
@ -1,21 +0,0 @@
|
||||
FROM alpine
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
|
||||
RUN mkdir /root/src /root/etc /root/bin /root/var /root/usr
|
||||
ADD http://192.168.236.67:9020/publish/ice.sh /usr/local/bin/ice.sh
|
||||
ADD http://192.168.236.67:9020/publish/ice.linux.amd64 /usr/local/bin/ice.bin
|
||||
RUN chmod u+x /usr/local/bin/*
|
||||
|
||||
RUN mkdir -p /root/usr/publish
|
||||
RUN mkdir -p /root/usr/volcanos
|
||||
ADD http://192.168.236.67:9020/publish/order.js /root/usr/publish/order.js
|
||||
ADD http://192.168.236.67:9020/publish/volcanos.tar.gz /root/usr/
|
||||
RUN tar -xvf /root/usr/volcanos.tar.gz -C /root/usr/
|
||||
|
||||
ENV ctx_dev http://192.168.236.67:9020
|
||||
ENV ctx_user root
|
||||
WORKDIR /root
|
||||
EXPOSE 9020
|
||||
CMD /usr/local/bin/ice.sh start serve dev
|
||||
|
@ -1,31 +0,0 @@
|
||||
FROM centos
|
||||
|
||||
ADD http://mirrors.aliyun.com/repo/Centos-8.repo /etc/yum.repos.d/CentOS-Base.repo
|
||||
RUN yum makecache
|
||||
|
||||
RUN mkdir /root/src /root/etc /root/bin /root/var /root/usr
|
||||
ADD http://192.168.236.67:9020/publish/ice.sh /root/bin/ice.sh
|
||||
ADD http://192.168.236.67:9020/publish/ice.linux.amd64 /root/bin/ice.bin
|
||||
RUN chmod u+x /root/bin/*
|
||||
|
||||
RUN mkdir -p /root/usr/publish
|
||||
RUN mkdir -p /root/usr/volcanos
|
||||
ADD http://192.168.236.67:9020/publish/order.js /root/usr/publish/order.js
|
||||
ADD http://192.168.236.67:9020/publish/volcanos.tar.gz /root/usr/
|
||||
RUN tar -xvf /root/usr/volcanos.tar.gz -C /root/usr/
|
||||
|
||||
RUN mkdir -p /root/.vim/autoload
|
||||
ADD http://192.168.236.67:9020/publish/miss.sh /root/etc/miss.sh
|
||||
ADD http://192.168.236.67:9020/publish/plug.vim /root/.vim/autoload/plug.vim
|
||||
ADD http://192.168.236.67:9020/publish/vimrc /root/.vimrc
|
||||
|
||||
ENV GOROOT /usr/local/go
|
||||
ENV PATH /usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
# RUN cd /root && source etc/miss.sh
|
||||
|
||||
ENV ctx_dev http://192.168.236.67:9020
|
||||
ENV ctx_user root
|
||||
WORKDIR /root
|
||||
EXPOSE 9020
|
||||
CMD cd /root && bin/ice.sh start serve dev
|
||||
|
@ -1,4 +1,52 @@
|
||||
Volcanos("onengine", { river: {
|
||||
"product": {name: "产品群", storm: {
|
||||
"office": {name: "office", index: [
|
||||
"web.wiki.draw.draw",
|
||||
"web.team.plan",
|
||||
"web.wiki.word",
|
||||
"web.wiki.data",
|
||||
"web.wiki.feel",
|
||||
]},
|
||||
"chrome": {name: "chrome", index: [
|
||||
"web.code.chrome.chrome",
|
||||
"web.code.chrome.bookmark",
|
||||
]},
|
||||
}},
|
||||
"project": {name: "研发群", storm: {
|
||||
"inner": {name: "inner", index: [
|
||||
"web.code.inner",
|
||||
"web.code.git.status",
|
||||
"web.code.git.total",
|
||||
]},
|
||||
"relay": {name: "relay", index: [
|
||||
"aaa.totp.get",
|
||||
"web.route",
|
||||
"web.space",
|
||||
"web.dream",
|
||||
"web.code.docker.container",
|
||||
"web.code.tmux.session",
|
||||
]},
|
||||
"tmux": {name: "tmux", index: [
|
||||
"web.code.tmux.text",
|
||||
"web.code.tmux.buffer",
|
||||
"web.code.tmux.session",
|
||||
]},
|
||||
}},
|
||||
"profile": {name: "测试群", storm: {
|
||||
"pprof": {name: "pprof", index: [
|
||||
"web.code.pprof",
|
||||
"web.code.bench",
|
||||
"web.favor",
|
||||
"web.cache",
|
||||
"web.share",
|
||||
]},
|
||||
"docker": {name: "docker", index: [
|
||||
"web.code.docker.image",
|
||||
"web.code.docker.container",
|
||||
"web.code.docker.command",
|
||||
]},
|
||||
}},
|
||||
|
||||
"main": {name: "main", storm: {
|
||||
"inner": {name: "inner", index: [
|
||||
"web.code.inner",
|
||||
|
Loading…
x
Reference in New Issue
Block a user