FROM rust:latest WORKDIR /usr/src/myapp COPY . . # LLDB Server EXPOSE 9228 RUN apt-get -y update && \ apt-get -y upgrade && \ apt-get install -y sudo software-properties-common # https://askubuntu.com/questions/787383/how-to-install-llvm-3-9 # http://apt.llvm.org/ RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - RUN apt-add-repository "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-6.0 main" RUN apt-get -y update # RUN sudo apt-get -y install clang-6.0 lldb-6.0 CMD ["/bin/bash"]