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
ModelZoo
ViT_pytorch
Commits
536ba4ba
Commit
536ba4ba
authored
Aug 13, 2024
by
dcuai
Browse files
Update Dockerfile
parent
ff4871ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docker/Dockerfile
docker/Dockerfile
+2
-2
No files found.
docker/Dockerfile
View file @
536ba4ba
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
0
.0-
centos7.6-dtk-22.10.1-py37-latest
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1.0-
ubuntu20.04-dtk24.04.1-py3.10
ENV
DEBIAN_FRONTEND=noninteractive
ENV
DEBIAN_FRONTEND=noninteractive
# RUN yum update && yum install -y git cmake wget build-essential
# RUN yum update && yum install -y git cmake wget build-essential
RUN
source
/opt/dtk-22.10.1/env.sh
#
RUN source /opt/dtk-22.10.1/env.sh
# 安装pip相关依赖
# 安装pip相关依赖
COPY
requirements.txt requirements.txt
COPY
requirements.txt requirements.txt
RUN
pip3
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
requirements.txt
RUN
pip3
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
requirements.txt
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