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
SOLOv2-pytorch
Commits
bac9b76a
Commit
bac9b76a
authored
Aug 31, 2019
by
Yan
Committed by
Kai Chen
Aug 31, 2019
Browse files
Optimize Dockerfile (#1306)
parent
ff2f1f3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
docker/Dockerfile
docker/Dockerfile
+5
-3
No files found.
docker/Dockerfile
View file @
bac9b76a
...
@@ -4,10 +4,12 @@ ARG CUDNN="7.5"
...
@@ -4,10 +4,12 @@ ARG CUDNN="7.5"
FROM
pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
FROM
pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
RUN
apt-get update
&&
apt-get
install
-y
libglib2.0-0 libsm6 libxrender-dev libxext6
RUN
apt-get update
&&
apt-get
install
-y
libglib2.0-0 libsm6 libxrender-dev libxext6
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install mmdetection
# Install mmdetection
RUN
conda
install
cython
-y
RUN
conda
install
cython
-y
&&
conda clean
--all
RUN
git clone https://github.com/open-mmlab/mmdetection.git /mmdetection
RUN
git clone https://github.com/open-mmlab/mmdetection.git /mmdetection
WORKDIR
/mmdetection
WORKDIR
/mmdetection
RUN
pip
install
-e
.
RUN
pip
install
--no-cache-dir
-e
.
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