ARC-OPT / wbc

C++ library for optimization-based control of redundant robots
BSD 3-Clause "New" or "Revised" License
33 stars 13 forks source link

JOSS: Docker #97

Open mhubii opened 3 months ago

mhubii commented 3 months ago

Could you please provide me a Dockerfile to test the library?

Refers: https://github.com/openjournals/joss-reviews/issues/6696

dmronga commented 2 months ago

@mhubii You can use this docker file: https://cloud.dfki.de/owncloud/index.php/s/4QjoMzoffQRQEN5 (Ubuntu22.04), wbc is installed under /arc-opt/wbc. The rh5v2 tutorial seems broken here, I removed it from master.

mhubii commented 2 months ago

cheers, will have a look

mhubii commented 1 month ago

one more thing, could you just provide me the dockerfile as opposed to the container, or is that already somewhere?

dmronga commented 1 week ago

Sorry @mhubii, I missed your query. Here is the docker file and install script: https://github.com/ARC-OPT/wbc/tree/master/docker. Both have to be in the same folder. Build/run with docker build -t image_name . docker run -i -t image_name

mhubii commented 12 hours ago

awesome, thank you for sharing. This should get me up to speed.

On a related note, would it be possible to merge the RUN commands for caching, e.g. in

https://github.com/ARC-OPT/wbc/blob/069dee2be489f2154e3d4892868b218fceaf4e9f/docker/Dockerfile#L3

RUN apt-get update -y && \
    apt-get upgrade -y && \
    apt-get -y install git cmake build-essential libboost-system-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev pkg-config libeigen3-dev libboost-filesystem-dev

Please feel free to close this issue after