carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.09k stars 3.57k forks source link

Build custom DockerImage fails #5438

Open MrLerry opened 2 years ago

MrLerry commented 2 years ago

I build a custom packaged Carla version from SourceBuild with own Maps and some new Assets by executing "make package". For hosting this on a Server I need to dockerize this new package, but theres an Error regarding Nvidia Cuda having no Key, but o cant find a valid solution.

Get:37 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [932 kB]
Reading package lists...
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
The command '/bin/sh -c packages='libsdl2-2.0 xserver-xorg libvulkan1 libomp5' && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages --no-install-recommends' returned a non-zero code: 100

CARLA version: 0.9.13 Platform/OS: Ubuntu 20.04

EDIT: ok got this working by adding this line at second place: RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub

But now the build process stops at:

Step 4/8 : RUN useradd -m carla
 ---> Running in 7318e3656b72
Removing intermediate container 7318e3656b72
 ---> c9a5abc398e8
Step 5/8 : COPY --chown=carla:carla . /home/carla

Anyone encountered this Issue?

Cheers Lerry

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.