Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
1cf6f719
Commit
1cf6f719
authored
Mar 18, 2022
by
chenyuting
Browse files
Options
Downloads
Patches
Plain Diff
delete infer/Dockerfile
parent
0d34c6e8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
official/cv/MCNN/infer/Dockerfile
+0
-24
0 additions, 24 deletions
official/cv/MCNN/infer/Dockerfile
with
0 additions
and
24 deletions
official/cv/MCNN/infer/Dockerfile
deleted
100644 → 0
+
0
−
24
View file @
0d34c6e8
ARG
FROM_IMAGE_NAME
FROM
${FROM_IMAGE_NAME}
# 配置镜像代理
ENV
http_proxy="http://192.168.88.254:8080"
ENV
https_proxy="http://192.168.88.254:8080"
# 添加用户以及用户组 username ID为当前用户
RUN
useradd
-d
/home/hwMindX
-u
9000
-m
-s
/bin/bash hwMindX
&&
\
useradd
-d
/home/HwHiAiUser
-u
1000
-m
-s
/bin/bash HwHiAiUser
&&
\
useradd
-d
/home/sjtu_liu
-u
1001
-m
-s
/bin/bash sjtu_liu
-g
HwHiAiUser
&&
\
usermod
-a
-G
HwHiAiUser hwMindX
# 添加Python符号链接
RUN
ln
-s
/usr/local/python3.7.5/bin/python3.7 /usr/bin/python
# 安装相关依赖包,根据实际模型依赖修改
RUN
apt-get update
&&
\
apt-get
install
libglib2.0-dev
-y
||
\
rm
-rf
/var/lib/dpkg/info
&&
\
mkdir
/var/lib/dpkg/info
&&
\
apt-get
install
libglib2.0-dev dos2unix
-y
&&
\
pip
install
pytest-runner
==
5.3.0
# 安装Python依赖包,根据实际模型依赖修改
COPY
requirements.txt .
RUN
pip3.7
install
-r
requirements.txt
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment