Skip to content

Commit

Permalink
update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
sakria9 committed Apr 4, 2024
1 parent d9ba3c9 commit 674f4b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM ubuntu:lunar

RUN apt-get update && apt-get install -y \
libssl-dev gcc-13 g++-13 libprotobuf-c-dev libprotobuf-dev libgrpc-dev libspdlog-dev libfmt-dev llvm-14-dev libedit-dev libcxxopts-dev libpfm4-dev liblldb-dev libbenchmark-dev ninja-build libpcap-dev libopenblas-pthread-dev \
librdmacm-dev libibverbs-dev \
wget git cmake ninja-build python3 python3-pip \
lsb-release software-properties-common gnupg

Expand All @@ -17,6 +18,6 @@ RUN wget -4 -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& add-apt-repository -y "deb http://apt.llvm.org/lunar/ llvm-toolchain-lunar-17 main" \
&& apt-get update \
&& apt-get install -y clang-17 lldb-17 lld-17 clangd-17 \
tmux vim gdb wabt neovim
tmux vim gdb wabt neovim htop

USER ubuntu
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
// "postCreateCommand": "pip3 install --user -r requirements.txt",

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "ubuntu"
"remoteUser": "ubuntu",
"runArgs": ["--privileged"]
}

0 comments on commit 674f4b3

Please sign in to comment.