12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- FROM carlasim/carla:0.9.13
- # CMD ['/bin/sh','-c','/bin/bash']
- # 添加环境变量
- # export XDG_RUNTIME_DIR=/usr/lib/
- # export RUNLEVEL=3
- ENV XDG_RUNTIME_DIR=/usr/lib/
- ENV RUNLEVEL=3
- USER root
- RUN rm /etc/apt/sources.list.d/cuda.list
- RUN rm /etc/apt/sources.list.d/nvidia-ml.list
- RUN apt-key del 7fa2af80
- RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
- RUN apt-get update && apt-get install -y --no-install-recommends wget
- RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
- RUN dpkg -i cuda-keyring_1.0-1_all.deb
- # 设置清华源
- RUN apt-get update
- RUN apt-get install xdg-user-dirs
- RUN apt-get install nano sudo curl -y
- RUN apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev mesa-utils -y
- RUN apt-get install libxtst6 libxv1 libegl1-mesa -y
- RUN wget https://sourceforge.net/projects/virtualgl/files/3.0.1/virtualgl_3.0.1_amd64.deb
- RUN dpkg -i virtualgl_3.0.1_amd64.deb
- RUN apt-get update
- RUN apt-get -f install
- USER carla
- COPY . /home/vangogh/software/FuzzScene
- # CMD ["/home/carla/CarlaUE4.sh -opengl"]
- # CMD ["./CarlaUE4.sh","-opengl"]
|