feat: update docker to build with ROS

This commit is contained in:
dmi3coder 2023-05-03 21:45:11 +02:00
parent 086816969b
commit ab427d28db
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ WORKDIR data
RUN mkdir build
WORKDIR build
ENV CMAKE_PREFIX_PATH=/opt/ros/noetic
RUN bash -c 'cmake ..'
RUN bash -c 'cmake .. -DCOMMUNICATION=ROS'
RUN make
CMD ./z1_ctrl

View File

@ -10,4 +10,4 @@ see [unitree-z1-docs](http://dev-z1.unitree.com)
docker build . -t bytelogics:z1_controller
## Run the docker instance
docker run -ti --rm --network host -p 8071:8071 bytelogics:z1_controller
docker run -ti --rm --network host bytelogics:z1_controller