Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
maskrcnn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
人工智能
maskrcnn
Commits
7b7e2680
Commit
7b7e2680
authored
Nov 23, 2018
by
Miguel Varela Ramos
Committed by
Francisco Massa
Nov 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix opencv installation in dockerfile (#205)
parent
43cb539a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Dockerfile
docker/Dockerfile
+3
-3
No files found.
docker/Dockerfile
View file @
7b7e2680
...
...
@@ -7,7 +7,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# install basics
RUN
apt-get update
-y
\
&&
apt-get
install
-y
apt-utils git curl ca-certificates bzip2 cmake tree htop bmon iotop g++
&&
apt-get
install
-y
apt-utils git curl ca-certificates bzip2 cmake tree htop bmon iotop g++
\
&&
apt-get
install
-y
libglib2.0-0 libsm6 libxext6 libxrender-dev
# Install Miniconda
RUN
curl
-so
/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
\
...
...
@@ -28,11 +29,10 @@ ENV PATH=$CONDA_PREFIX/bin:$PATH
ENV
CONDA_AUTO_UPDATE_CONDA=false
RUN
conda
install
-y
ipython
RUN
pip
install
ninja yacs cython matplotlib
RUN
pip
install
ninja yacs cython matplotlib
opencv-python
# Install PyTorch 1.0 Nightly and OpenCV
RUN
conda
install
-y
pytorch-nightly
-c
pytorch
\
&&
conda
install
-y
opencv
-c
menpo
\
&&
conda clean
-ya
# Install TorchVision master
...
...
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