-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install pycocotools from conda-forge (#441)
* install pycocotools from conda-forge * less verbose output
- Loading branch information
Valentyn Klindukh
authored
Aug 4, 2020
1 parent
cb9c598
commit ce21ed3
Showing
8 changed files
with
133 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM continuumio/miniconda3:4.6.14 | ||
ENV PATH /opt/conda/bin:$PATH | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
libsm6 \ | ||
libxext6 \ | ||
libxrender-dev \ | ||
libgl1-mesa-glx \ | ||
libglib2.0-0 \ | ||
xvfb && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /nuscenes-dev | ||
# create conda nuscenes env | ||
ARG PYTHON_VERSION | ||
RUN bash -c "conda create -y -n nuscenes python=${PYTHON_VERSION} \ | ||
&& source activate nuscenes \ | ||
&& conda clean --yes --all" | ||
|
||
COPY setup/requirements.txt . | ||
COPY setup/requirements/ requirements/ | ||
# Install Python dependencies inside of the Docker image via pip & Conda. | ||
# pycocotools installed from conda-forge | ||
RUN bash -c "source activate nuscenes \ | ||
&& find . -name "\\*.txt" -exec sed -i -e '/pycocotools/d' {} \; \ | ||
&& pip install --no-cache -r /nuscenes-dev/requirements.txt \ | ||
&& conda config --append channels conda-forge \ | ||
&& conda install --yes pycocotools \ | ||
&& conda clean --yes --all" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters