1 Star 1 Fork 51

Atlas_kang/ascend-device-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 476 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM ubuntu:18.04 as build
RUN useradd -d /home/HwHiAiUser -u 1000 -m -s /usr/sbin/nologin HwHiAiUser
ENV USE_ASCEND_DOCKER true
ENV LD_LIBRARY_PATH /usr/local/Ascend/driver/lib64/driver:/usr/local/Ascend/driver/lib64/common
ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/local/Ascend/driver/lib64/
COPY ./output/device-plugin /usr/local/bin/
RUN chmod 550 /usr/local/bin/device-plugin &&\
echo 'umask 027' >> /etc/profile &&\
echo 'source /etc/profile' >> ~/.bashrc
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/frankang/ascend-device-plugin.git
[email protected]:frankang/ascend-device-plugin.git
frankang
ascend-device-plugin
ascend-device-plugin
master

搜索帮助