Last active
October 6, 2022 17:10
-
-
Save dbaldwin/c3bc4d9adf35a8edaa7762e44ed4b1fe to your computer and use it in GitHub Desktop.
Unitree Go1 C++ and Python Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:18.04 | |
| WORKDIR /home/droneblocks | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| libboost-all-dev \ | |
| pkg-config \ | |
| libglib2.0-dev \ | |
| unzip \ | |
| curl \ | |
| git \ | |
| iputils-ping | |
| RUN curl -LO "https://github.com/lcm-proj/lcm/archive/refs/tags/v1.4.0.zip" | |
| RUN unzip v1.4.0.zip | |
| WORKDIR /home/droneblocks/lcm-1.4.0 | |
| RUN mkdir build | |
| WORKDIR /home/droneblocks/lcm-1.4.0/build | |
| RUN cmake .. | |
| RUN make | |
| RUN make install | |
| WORKDIR /home/droneblocks | |
| RUN git clone https://github.com/unitreerobotics/unitree_legged_sdk.git | |
| WORKDIR /home/droneblocks/unitree_legged_sdk | |
| RUN mkdir build | |
| WORKDIR /home/droneblocks/unitree_legged_sdk/build | |
| RUN cmake .. | |
| RUN make | |
| RUN make install | |
| WORKDIR /home/droneblocks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment