mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-22 20:19:43 +00:00
chore(ci): upgrade docker internal
This commit is contained in:
@@ -18,9 +18,8 @@
|
|||||||
# docker build -f docker/Dockerfile.internal -t lerobot-internal .
|
# docker build -f docker/Dockerfile.internal -t lerobot-internal .
|
||||||
|
|
||||||
# Configure the base image for CI with GPU access
|
# Configure the base image for CI with GPU access
|
||||||
# TODO(Steven): Bump these versions
|
ARG CUDA_VERSION=12.6.3
|
||||||
ARG CUDA_VERSION=12.4.1
|
ARG OS_VERSION=24.04
|
||||||
ARG OS_VERSION=22.04
|
|
||||||
FROM nvidia/cuda:${CUDA_VERSION}-base-ubuntu${OS_VERSION}
|
FROM nvidia/cuda:${CUDA_VERSION}-base-ubuntu${OS_VERSION}
|
||||||
|
|
||||||
# Define Python version argument
|
# Define Python version argument
|
||||||
@@ -36,16 +35,13 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|||||||
|
|
||||||
# Install Python, system dependencies, and uv (as root)
|
# Install Python, system dependencies, and uv (as root)
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
software-properties-common build-essential git curl \
|
build-essential git curl \
|
||||||
libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \
|
libglib2.0-0 libgl1 libegl1 ffmpeg \
|
||||||
libusb-1.0-0-dev speech-dispatcher libgeos-dev portaudio19-dev \
|
libusb-1.0-0-dev speech-dispatcher libgeos-dev portaudio19-dev \
|
||||||
cmake pkg-config ninja-build \
|
cmake pkg-config ninja-build \
|
||||||
&& add-apt-repository -y ppa:deadsnakes/ppa \
|
python${PYTHON_VERSION} \
|
||||||
&& apt-get update \
|
python${PYTHON_VERSION}-venv \
|
||||||
&& apt-get install -y --no-install-recommends \
|
python${PYTHON_VERSION}-dev \
|
||||||
python${PYTHON_VERSION} \
|
|
||||||
python${PYTHON_VERSION}-venv \
|
|
||||||
python${PYTHON_VERSION}-dev \
|
|
||||||
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
|
&& curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||||
&& mv /root/.local/bin/uv /usr/local/bin/uv \
|
&& mv /root/.local/bin/uv /usr/local/bin/uv \
|
||||||
&& useradd --create-home --shell /bin/bash user_lerobot \
|
&& useradd --create-home --shell /bin/bash user_lerobot \
|
||||||
|
|||||||
Reference in New Issue
Block a user