Fix paths
This commit is contained in:
parent
d6135bff61
commit
bf169bf528
|
@ -8,11 +8,11 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential cmake \
|
||||
git git-lfs openssh-client \
|
||||
nano vim ffmpeg \
|
||||
nano vim less util-linux \
|
||||
htop atop nvtop \
|
||||
sed gawk grep curl wget \
|
||||
tcpdump sysstat screen \
|
||||
libglib2.0-0 libgl1-mesa-glx libegl1-mesa \
|
||||
libglib2.0-0 libgl1-mesa-glx libegl1-mesa ffmpeg \
|
||||
python${PYTHON_VERSION} python${PYTHON_VERSION}-venv \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
@ -26,16 +26,25 @@ RUN (type -p wget >/dev/null || (apt update && apt-get install wget -y)) \
|
|||
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
|
||||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
|
||||
&& apt update \
|
||||
&& apt install gh -y
|
||||
&& apt install gh -y \
|
||||
&& apt clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install miniconda
|
||||
RUN mkdir -p /miniconda3 \
|
||||
&& wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /miniconda3/miniconda.sh \
|
||||
&& bash /miniconda3/miniconda.sh -b -u -p /miniconda3 \
|
||||
&& rm -rf /miniconda3/miniconda.sh
|
||||
RUN mkdir -p /root/miniconda3 \
|
||||
&& wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /root/miniconda3/miniconda.sh \
|
||||
&& bash /root/miniconda3/miniconda.sh -b -u -p /root/miniconda3 \
|
||||
&& rm -rf /root/miniconda3/miniconda.sh
|
||||
ENV PATH="/root/miniconda3/bin/:$PATH"
|
||||
|
||||
# Setup conda & create env
|
||||
RUN conda init bash \
|
||||
&& . ~/.bashrc \
|
||||
&& conda create -y -n lerobot python=3.10 \
|
||||
&& conda activate lerobot
|
||||
|
||||
# Install poetry
|
||||
RUN curl -sSL https://install.python-poetry.org | python -
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
|
||||
# Set EGL as the rendering backend for MuJoCo
|
||||
ENV MUJOCO_GL="egl"
|
||||
|
|
Loading…
Reference in New Issue