|
FROM anchorxia/musev:1.0.0 |
|
|
|
|
|
LABEL MAINTAINER="anchorxia" |
|
LABEL Email="anchorxia@tencent.com" |
|
LABEL Description="musev gpu runtime image, base docker is pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel" |
|
ARG DEBIAN_FRONTEND=noninteractive |
|
|
|
USER root |
|
|
|
SHELL ["/bin/bash", "--login", "-c"] |
|
|
|
RUN . /opt/conda/etc/profile.d/conda.sh \ |
|
&& echo "source activate musev" >> ~/.bashrc \ |
|
&& conda activate musev \ |
|
&& conda env list \ |
|
&& pip install -r requirements.txt \ |
|
&& pip install --no-cache-dir -U openmim \ |
|
&& mim install mmengine \ |
|
&& mim install "mmcv>=2.0.1" \ |
|
&& mim install "mmdet>=3.1.0" \ |
|
&& mim install "mmpose>=1.1.0" \ |
|
|
|
USER root |
|
|
|
|