Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
easystart
Commits
a2e3486f
Commit
a2e3486f
authored
Jun 05, 2025
by
jerrrrry
Browse files
Upload New File
parent
4c47ac03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
2_eastart-env_check&model_download&llm_inference/Dockerfile
2_eastart-env_check&model_download&llm_inference/Dockerfile
+36
-0
No files found.
2_eastart-env_check&model_download&llm_inference/Dockerfile
0 → 100644
View file @
a2e3486f
# 使用官方光源基础镜像
FROM
image.sourcefind.cn:5000/dcu/admin/base/custom:vllm0.8.5-ubuntu22.04-dtk25.04-rc7-das1.5-py3.10-20250521-fixpy-rocblas0521-beta2
# 安装基础工具
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
\
iproute2
\
dmidecode
\
ipmitool
\
git
\
curl
\
jq
\
lshw
\
iputils-ping
\
pciutils
\
&&
rm
-rf
/var/lib/apt/lists/
*
# 创建目录结构
RUN
mkdir
-p
/workspace/scripts
&&
\
mkdir
-p
/workspace/configs
&&
\
mkdir
-p
/workspace/test/env_check_outputs
&&
\
mkdir
-p
/workspace/test/inference_outputs
&&
\
mkdir
-p
/workspace/test/models
# 复制脚本
COPY
./scripts/* /workspace/scripts/
COPY
./configs/* /workspace/configs/
RUN
chmod
+x /workspace/scripts/
*
RUN
chmod
+x /workspace/configs
*
# 设置工作目录(建议直接设为脚本目录)
WORKDIR
/workspace/scripts/
# 直接执行脚本(无需cd)
CMD
bash -c "\
bash entrypoint.sh"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment