diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f35cff5f9..17398c839 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,13 +2,15 @@ FROM --platform=linux/amd64 ubuntu:rolling ARG USER +RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc +RUN echo "Types: deb \n\ +URIs: http://apt.llvm.org/questing/ \n\ +Suites: llvm-toolchain-questing \n\ +Components: main \n\ +Signed-By: /etc/apt/trusted.gpg.d/apt.llvm.org.asc\n" > /etc/apt/sources.list.d/llvm.sources +RUN cat /etc/apt/sources.list.d/llvm.sources RUN apt update -RUN apt install -y sudo wget git pkgconf -RUN apt install -y build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev libsox-dev git libasound2-dev nasm g++-14 -RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - -RUN echo "deb http://apt.llvm.org/oracular/ llvm-toolchain-oracular main" | tee -a /etc/apt/sources.list -RUN apt update -RUN apt install -y clangd +RUN apt install -y sudo wget git pkgconf clangd build-essential cmake libunwind-dev libglfw3-dev libvulkan-dev libsox-dev git libasound2-dev nasm g++-14 RUN deluser ubuntu || echo RUN useradd -m ${USER} RUN echo ${USER} ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/${USER} \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 97ce55d34..07ac58441 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -9,7 +9,8 @@ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", - "--platform", "linux/amd64" + "--platform", "linux/amd64", + // "--gpus", "all" ], "updateRemoteUserUID": true, "remoteUser": "${localEnv:USER}",