| FROM nvidia/cuda:12.4.1-devel-ubuntu22.04 |
|
|
| ENV DEBIAN_FRONTEND=noninteractive |
|
|
| |
| RUN apt-get update && apt-get install -y --no-install-recommends \ |
| git git-lfs wget curl ca-certificates \ |
| libgl1-mesa-glx libglib2.0-0 \ |
| software-properties-common \ |
| && add-apt-repository ppa:deadsnakes/ppa -y \ |
| && add-apt-repository ppa:ubuntuhandbook1/ffmpeg6 -y \ |
| && apt-get update \ |
| && apt-get install -y --no-install-recommends \ |
| python3.10 python3.10-venv python3.10-dev \ |
| ffmpeg \ |
| && git lfs install \ |
| && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 \ |
| && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 |
|
|
| |
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python |
|
|
| |
| RUN pip install --no-cache-dir \ |
| torch torchvision torchaudio \ |
| --index-url https://download.pytorch.org/whl/cu124 |
|
|
| |
| RUN huggingface-cli download StrongRoboticsLab/pi05-so100-diverse \ |
| --local-dir /workspace/pi05-so100-diverse \ |
| --exclude "logs/*" |
|
|
| |
| RUN pip install --no-cache-dir \ |
| -e /workspace/pi05-so100-diverse/lerobot \ |
| "transformers==4.54.1" \ |
| "accelerate>=0.34" \ |
| wandb \ |
| huggingface_hub \ |
| hf_xet |
|
|
| |
| RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ |
| && apt-get install -y nodejs \ |
| && rm -rf /var/lib/apt/lists/* \ |
| && npm install -g @anthropic-ai/claude-code |
|
|
| WORKDIR /workspace/pi05-so100-diverse |
|
|
| ENTRYPOINT ["/bin/bash", "-c"] |
| CMD ["bash"] |
|
|