LTU-RAI / ExplorationRRT

Exploration-RRT Ros Package
https://ieeexplore.ieee.org/document/10582913
BSD 3-Clause "New" or "Revised" License
128 stars 19 forks source link

docker issue #1

Closed robolug closed 4 months ago

robolug commented 4 months ago
 > [59/64] COPY models /home/coder/.gazebo/models:
------
------
 > [62/64] COPY ignition_models /home/coder/.ignition/:
------

 8 warnings found (use --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 3)
 - UndefinedVar: Usage of undefined variable '$NVIDIA_VISIBLE_DEVICES' (line 8)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 8)
 - UndefinedVar: Usage of undefined variable '$NVIDIA_DRIVER_CAPABILITIES' (line 9)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 9)
 - UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' (line 11)
 - UndefinedVar: Usage of undefined variable '$root' (line 74)
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 193)
Dockerfile:184
--------------------
 182 |     WORKDIR /home/$USERNAME/ 
 183 |     RUN mkdir -p .ignition
 184 | >>> COPY ignition_models /home/$USERNAME/.ignition/
 185 |     
 186 |     WORKDIR /home/$USERNAME/catkin_ws/
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 28c2aaef-ce73-468a-a56c-6fb12348b8bf::ofxbmbmm0kkn5vyyxqah6koxa: "/ignition_models": not found

I run code everytime these error appears

aakapatel commented 4 months ago

Hello @robolug

Thank you for reporting this issue. I have added the instructions for downloading the gazebo models through gdown. Please follow the updated instructions in readme for installing and building the docker image.

  cd ExplorationRRT/docker
  gdown --id 1TDbXF9He_LXYY57Xo3tOxvEVYH3kPtS8
  gdown --id 1y7BDt0tjK9Ml7MlTxUwOTG8ZygO_dpI0
  unzip models.zip 
  unzip ignition_models.zip 

Build the docker image with following command. The build process might take some time when building for first time.

  sudo docker build --build-arg USERNAME=$(whoami) -t errt_test . 

If there is anything else, let us know. BR, Akash