Skip to content

Commit

Permalink
Test changed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Apr 27, 2024
1 parent 87d0f65 commit 41d8b29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Inspired by
# https://github.com/huggingface/peft/blob/main/.github/workflows/test-docker-build.yml
name: Test Docker images (PR)
name: Test Docker builds (PR)

on:
pull_request:
Expand Down
2 changes: 0 additions & 2 deletions docker/lerobot-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ FROM nvidia/cuda:12.4.1-base-ubuntu22.04
ARG PYTHON_VERSION=3.10
ARG DEBIAN_FRONTEND=noninteractive


# Install apt dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake \
libglib2.0-0 libgl1-mesa-glx libegl1-mesa \
python${PYTHON_VERSION} python${PYTHON_VERSION}-venv \
&& apt-get clean && rm -rf /var/lib/apt/lists/*


# Create virtual environment
RUN ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python
RUN python -m venv /opt/venv
Expand Down

0 comments on commit 41d8b29

Please sign in to comment.