You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM public.ecr.aws/lambda/python:3.11
# Install the specified packages
RUN yum install -y mesa-libGL.x86_64 make gcc
RUN pip install --upgrade pip setuptools wheel
RUN pip install boto
RUN pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
RUN pip install -U openmim
RUN mim install mmengine==0.10.3
RUN pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html
First few lines of the Dockerfile, since it fails on RUN pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html
Reproduces the problem - command or script
Build Docker Image: docker build --no-cache -t test .
Prerequisite
Environment
Docker
Mac
Reproduces the problem - code sample
Dockerfile
First few lines of the Dockerfile, since it fails on
RUN pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html
Reproduces the problem - command or script
Build Docker Image:
docker build --no-cache -t test .
Reproduces the problem - error message
Dockerfile:10
8 | RUN pip install -U openmim
9 | RUN mim install mmengine==0.10.3
10 | >>> RUN pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html
11 | RUN mim install "mmdet==3.2.0"
12 | RUN mim install "mmpose==1.3.1"
ERROR: failed to solve: process "/bin/sh -c pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html" did not complete successfully: exit code: 1
Additional information
Expected Result
RUN pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cpu/torch2.1/index.html
Running this command directly and not on docker is successful.
Environment: Mac
The text was updated successfully, but these errors were encountered: