"...dcu-process-montor.git" did not exist on "592e7231c0460207484e113adb0bc7bf813e3437"
Commit 16cda548 authored by jerrrrry's avatar jerrrrry
Browse files

Upload New File

parent 311e1d59
# 使用官方光源基础镜像
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/test/env_check_outputs
# 复制脚本并设置权限
COPY ./scripts/run_envcheck.sh /workspace/scripts/
# 验证脚本可执行性
RUN ls -l /workspace/scripts/ && \
file /workspace/scripts/run_envcheck.sh && \
head -n 1 /workspace/scripts/run_envcheck.sh # 检查shebang
# 设置工作目录(建议直接设为脚本目录)
WORKDIR /workspace/scripts/
# 直接执行脚本(无需cd)
CMD bash -c "\
bash run_envcheck.sh"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment