Spaces:
Sleeping
Sleeping
alexis779
commited on
Commit
·
4f34a6e
1
Parent(s):
411a1a5
bump kernel version
Browse files- Dockerfile +9 -2
- packages.txt +1 -0
- requirements.txt +0 -2
Dockerfile
CHANGED
@@ -11,8 +11,9 @@ RUN --mount=target=/tmp/packages.txt,source=packages.txt \
|
|
11 |
RUN rm -rf /var/lib/apt/lists/*
|
12 |
RUN apt clean
|
13 |
|
14 |
-
# merge platform-specific and common headers from the kernel directories.
|
15 |
-
|
|
|
16 |
|
17 |
RUN --mount=target=/tmp/merge_headers.sh,source=merge_headers.sh \
|
18 |
/tmp/merge_headers.sh /usr/src/linux-headers-$kernel-cloud-amd64 /usr/src/linux-headers-$kernel-common /usr/src/linux-headers-$kernel
|
@@ -58,6 +59,12 @@ ENV PATH="/home/user/venv/bin:$PATH"
|
|
58 |
RUN --mount=target=/tmp/requirements.txt,source=requirements.txt \
|
59 |
pip install --no-cache-dir -r /tmp/requirements.txt
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
WORKDIR /home/user/app
|
62 |
|
63 |
# deploy robot configuration
|
|
|
11 |
RUN rm -rf /var/lib/apt/lists/*
|
12 |
RUN apt clean
|
13 |
|
14 |
+
# merge platform-specific and common headers from the kernel directories.
|
15 |
+
# Run uname -r to get the version, then strip out the platform suffix
|
16 |
+
ENV kernel=6.12.21
|
17 |
|
18 |
RUN --mount=target=/tmp/merge_headers.sh,source=merge_headers.sh \
|
19 |
/tmp/merge_headers.sh /usr/src/linux-headers-$kernel-cloud-amd64 /usr/src/linux-headers-$kernel-common /usr/src/linux-headers-$kernel
|
|
|
59 |
RUN --mount=target=/tmp/requirements.txt,source=requirements.txt \
|
60 |
pip install --no-cache-dir -r /tmp/requirements.txt
|
61 |
|
62 |
+
RUN wget https://github.com/ompl/ompl/releases/download/1.7.0/wheels-ubuntu-latest-x86_64.zip \
|
63 |
+
&& unzip wheels-ubuntu-latest-x86_64.zip \
|
64 |
+
&& pip install ompl-1.7.0-cp312-cp312-manylinux_2_28_x86_64.whl \
|
65 |
+
&& rm wheels-ubuntu-latest-x86_64.zip \
|
66 |
+
&& rm ompl-1.7.0-*.whl
|
67 |
+
|
68 |
WORKDIR /home/user/app
|
69 |
|
70 |
# deploy robot configuration
|
packages.txt
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
git
|
2 |
wget
|
|
|
3 |
curl
|
4 |
vim
|
5 |
gcc
|
|
|
1 |
git
|
2 |
wget
|
3 |
+
unzip
|
4 |
curl
|
5 |
vim
|
6 |
gcc
|
requirements.txt
CHANGED
@@ -2,6 +2,4 @@ slobot==0.1.9
|
|
2 |
|
3 |
git+https://github.com/Genesis-Embodied-AI/Genesis.git
|
4 |
|
5 |
-
https://github.com/ompl/ompl/releases/download/prerelease/ompl-1.6.0-cp312-cp312-manylinux_2_28_x86_64.whl # should match python version
|
6 |
-
|
7 |
git+https://github.com/huggingface/lerobot.git
|
|
|
2 |
|
3 |
git+https://github.com/Genesis-Embodied-AI/Genesis.git
|
4 |
|
|
|
|
|
5 |
git+https://github.com/huggingface/lerobot.git
|