/carla_build

This is a dockerfile with environment to build dev carla branch

Primary LanguageDockerfile

Usage instruction:

  1. Make sure you have nvidia card and nvidia docker installed
  2. Make sure you have connected your EpicGames account and your guthub account.
  3. Generate keypair and deploy your public key to your github account (when asked for private key passphrase, leave it blank).
  4. Name your private key file as carla_keys and place it right next to the Dockerfile
  5. Build Dockerfile with someting like docker build -t my_carla:dev . (this might take 1 to 3 hours depending on your hardware and ~250GB of free disk space)
  6. Run the image with GUI support like this (here I limit cpu usages to 10 cores to leave some processing power for host tasks):
docker run \
  -it \
  --env="DISPLAY" \
  --env="QT_X11_NO_MITSHM=1" \
  --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
  --runtime=nvidia \
  --gpus all \
  --cpus="10.0" \
  --privileged \
  --network="host" \
  my_carla:dev
  1. Run make launch command. This will start UE4 Editor with Carla plugins.
  2. Done. Now you can introduce changes and build standalone packages. For example here you can watch the viodeo demostrating adding custom map to Carla.