Skip to content

Commit fd0dbba

Browse files
committed
:|
1 parent 398f1ca commit fd0dbba

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

unitree-client/Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ ENV DEBIAN_FRONTEND=noninteractive
66

77
RUN apt-get update \
88
&& apt-get install -y \
9+
software-properties-common \
910
bzip2 \
1011
curl \
12+
git \
13+
cmake \
1114
ca-certificates \
1215
libgl1 \
1316
libglib2.0-0 \
@@ -43,18 +46,6 @@ RUN git clone --branch=0.10.2 https://github.com/eclipse-cyclonedds/cyclonedds /
4346
&& rm -rf /tmp/cyclonedds
4447
RUN ln -s /usr/local/lib/pkgconfig/CycloneDDS.pc /usr/local/lib/pkgconfig/cyclonedds.pc
4548

46-
# Build CycloneDDS Python Bindings
47-
# Needs the C library installed first and build tools
48-
RUN git clone --branch=0.10.2 https://github.com/eclipse-cyclonedds/cyclonedds-python.git /tmp/cyclonedds-python \
49-
&& cd /tmp/cyclonedds-python \
50-
# Set CYCLONEDDS_HOME to tell the setup where to find the C library installation
51-
&& CYCLONEDDS_HOME=/usr/local \
52-
PATH="/app/.venv/bin:${PATH}" \
53-
LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" \
54-
/app/.venv/bin/python -m pip install --no-cache-dir . \
55-
&& cd / \
56-
&& rm -rf /tmp/cyclonedds-python
57-
5849
RUN curl -fsSL https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh -o /tmp/miniforge.sh \
5950
&& chmod +x /tmp/miniforge.sh \
6051
&& /tmp/miniforge.sh -b -p /opt/conda \

unitree-client/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
dependencies = [
33
"asyncio >=3.4.3",
44
# "casadi==3.6.7", # Built in the container.
5-
# "cyclonedds @ git+https://github.com/eclipse-cyclonedds/cyclonedds-python.git@0.10.2", # Built in the container but need Python bindings.
5+
"cyclonedds @ git+https://github.com/eclipse-cyclonedds/cyclonedds-python.git@0.10.2", # Built in the container but need Python bindings.
66
"ipython>=8.34.0",
77
"meshcat @ git+https://github.com/TastyDucks/meshcat-python.git",
88
"mujoco>=3.3.0",

0 commit comments

Comments
 (0)