Unverified Commit 53cc91e5 authored by Byron Hsu's avatar Byron Hsu Committed by GitHub
Browse files

[devcontainer] Fix mount and GPU & Support rust dev (#2978)

parent d33cbb7e
......@@ -15,6 +15,9 @@
]
}
},
"workspaceFolder": "/sgl-workspace/sglang",
"forwardPorts": []
"forwardPorts": [],
"runArgs": [
"--gpus",
"all"
]
}
......@@ -18,6 +18,8 @@ RUN apt-get update && apt-get install -y \
silversearcher-ag \
cloc \
unzip \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
......@@ -63,6 +65,12 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v3.31.1/cmake-3.31.1
&& cp -r cmake-3.31.1-linux-x86_64/share/* /usr/local/share/ \
&& rm -rf cmake-3.31.1-linux-x86_64 cmake-3.31.1-linux-x86_64.tar.gz
# Install uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Add yank script
COPY --chown=root:root <<-"EOF" /usr/local/bin/yank
#!/bin/bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment