Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
TommyTT
1024云IDE应用挑战赛
提交
9dd6bb24
1024云IDE应用挑战赛
项目概览
TommyTT
/
1024云IDE应用挑战赛
该项目与 Fork 源项目分叉
Fork自
Cloud IDE / 1024云IDE应用挑战赛
通知
4
Star
20
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
1024云IDE应用挑战赛
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9dd6bb24
编写于
10月 30, 2022
作者:
6
635677437d755007c09848d3
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
33f58bd0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
4 deletion
+3
-4
build.sh
build.sh
+1
-1
common.py
common.py
+1
-2
server.py
server.py
+1
-1
未找到文件。
build.sh
浏览文件 @
9dd6bb24
...
...
@@ -18,7 +18,7 @@ EOF
fi
# 其他镜像在python中异步创建
docker build
-f
config/python/Dockerfile
-t
webcode_python:1.0
.
docker build
-f
config/python/Dockerfile
-t
python
.
pip
install
-r
requirements
-i
https://mirrors.aliyun.com/pypi/simple/
python router.py
common.py
浏览文件 @
9dd6bb24
...
...
@@ -37,9 +37,8 @@ class Language:
def
build_image
(
self
):
try
:
print
(
self
.
name
,
"正在创建镜像"
)
generator
=
low_level_client
.
build
(
path
=
DOCKER_CONFIG_DIR
.
format
(
self
.
name
),
tag
=
TAG_STR
.
format
(
self
.
name
)
,
tag
=
self
.
name
,
rm
=
True
,
decode
=
True
)
while
True
:
# 打印日志,防止build太久看不到进度条
...
...
server.py
浏览文件 @
9dd6bb24
...
...
@@ -20,7 +20,7 @@ def get_and_set_image(name):
if
Languages
[
name
].
image
:
return
Languages
[
name
].
image
try
:
image
=
client
.
images
.
get
(
TAG_STR
.
format
(
name
)
)
image
=
client
.
images
.
get
(
name
)
Languages
[
name
].
set_image
(
image
)
return
image
except
ImageNotFound
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录