File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM intel/intel-extension-for-pytorch:2.7.10-xpu
2
+
3
+ # Configure environment variables
4
+ ARG PYTHON_VERSION=3.10
5
+ ENV DEBIAN_FRONTEND=noninteractive
6
+ ENV MUJOCO_GL="egl"
7
+ ENV PATH="/opt/venv/bin:$PATH"
8
+
9
+ # Install dependencies and set up Python in a single layer
10
+ RUN apt-get update && apt-get install -y --no-install-recommends \
11
+ software-properties-common \
12
+ build-essential cmake git \
13
+ libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \
14
+ speech-dispatcher libgeos-dev \
15
+ python${PYTHON_VERSION}-dev \
16
+ python${PYTHON_VERSION}-venv \
17
+ && apt-get clean && rm -rf /var/lib/apt/lists/* \
18
+ && python -m venv /opt/venv --system-site-packages \
19
+ && echo "source /opt/venv/bin/activate" >> /root/.bashrc
20
+
21
+ WORKDIR /lerobot
22
+ COPY . ./
23
+
24
+ RUN /opt/venv/bin/pip install --no-cache-dir ".[pusht]"
You can’t perform that action at this time.
0 commit comments