-
Notifications
You must be signed in to change notification settings - Fork 10
[Bug] Unable to build docker image for v1.8.0 #286
Comments
I'm trying to find why the error occues. Autoware can't build in autoware/autoware:1.7.0-kinetic
In autoware/autoware:1.7.0-kinetic, the size of libcuda.so.390.30 is zero.
|
@yn-mrse Does it work on your environment? |
This error can be reproduced by @yn-mrse, who built v1.7.0 docker. |
@kfunaoka the error is caused due to Autoware requiring the CUDA runtime to be available at compilation time. However, this feature is not available in nvidia-docker yet. Checking the Dockerfile, it hasn't been updated since around version 1.6:
In any case, a workaround to the CUDA error at image build time, please:
This is a quick fix, please add the correct fix to yolo (only download the weights files at the path described in yolo readme) |
@amc-nu Thank you for the advice! @esteve is trying to update nvidia docker to v2 at autowarefoundation/autoware#1416. Everything seems to go well after updated! |
Depending on CUDA runtime during compilation does not seem alright to me. Our build environment does not have an NVIDIA GPU, but we transfer images to computers with GPUs. Here is what I did:
|
PR autowarefoundation/autoware#1536 should fix this bug |
With nvidia-docker2, Rviz cannot be executed on images built with the above Dockerfile because openGL applications are not supported. I solved this problem by using the cudagl image as the source. Please change |
For anyone else in the interim for people who has this issue but doesn't want to use the development branch. Feel free to use my Docker files. It clones my repo which only has the changes in PR autowarefoundation/autoware#1536 https://github.com/kyesh/Autoware/blob/master/docker/generic/Dockerfile.kinetic |
Sorry. This is an old issue fixed at v1.9.0. I'll close it. |
Bug
Expected Behavior
Built successfully
Actual Behavior
Show the following error
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: