Skip to content

Commit 43e079f

Browse files
authored
Fix nightly tests docker images (#675)
1 parent 6674e36 commit 43e079f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docker/lerobot-cpu/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive
77

88
# Install apt dependencies
99
RUN apt-get update && apt-get install -y --no-install-recommends \
10-
build-essential cmake git \
10+
build-essential cmake git git-lfs \
1111
libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \
1212
speech-dispatcher libgeos-dev \
1313
&& apt-get clean && rm -rf /var/lib/apt/lists/*
@@ -19,7 +19,8 @@ ENV PATH="/opt/venv/bin:$PATH"
1919
RUN echo "source /opt/venv/bin/activate" >> /root/.bashrc
2020

2121
# Install LeRobot
22-
RUN GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/huggingface/lerobot.git /lerobot
22+
RUN git lfs install
23+
RUN git clone https://github.com/huggingface/lerobot.git /lerobot
2324
WORKDIR /lerobot
2425
RUN pip install --upgrade --no-cache-dir pip
2526
RUN pip install --no-cache-dir ".[test, aloha, xarm, pusht, dynamixel]" \

docker/lerobot-gpu/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG DEBIAN_FRONTEND=noninteractive
77

88
# Install apt dependencies
99
RUN apt-get update && apt-get install -y --no-install-recommends \
10-
build-essential cmake git \
10+
build-essential cmake git git-lfs \
1111
libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \
1212
speech-dispatcher libgeos-dev \
1313
python${PYTHON_VERSION}-dev python${PYTHON_VERSION}-venv \
@@ -21,7 +21,8 @@ ENV PATH="/opt/venv/bin:$PATH"
2121
RUN echo "source /opt/venv/bin/activate" >> /root/.bashrc
2222

2323
# Install LeRobot
24-
RUN GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/huggingface/lerobot.git /lerobot
24+
RUN git lfs install
25+
RUN git clone https://github.com/huggingface/lerobot.git /lerobot
2526
WORKDIR /lerobot
2627
RUN pip install --upgrade --no-cache-dir pip
2728
RUN pip install --no-cache-dir ".[test, aloha, xarm, pusht, dynamixel]"

0 commit comments

Comments
 (0)