fix: resolve CodeQL cpp issue (#2305)
This commit is contained in:
@@ -4,7 +4,6 @@ FROM lmsysorg/sglang:latest
|
||||
# Install development tools and utilities
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gdb \
|
||||
cmake \
|
||||
ninja-build \
|
||||
vim \
|
||||
tmux \
|
||||
@@ -50,6 +49,13 @@ RUN curl -L https://github.com/clangd/clangd/releases/download/18.1.3/clangd-lin
|
||||
&& cp -r clangd_18.1.3/lib/* /usr/local/lib/ \
|
||||
&& rm -rf clangd_18.1.3 clangd.zip
|
||||
|
||||
# Install CMake
|
||||
RUN curl -L https://cmake.org/download/#:~:text=cmake%2D3.31.1%2Dlinux%2Dx86_64.tar.gz -o cmake.tar.gz \
|
||||
&& tar -xzf cmake.tar.gz \
|
||||
&& cp -r cmake-3.31.1-linux-x86_64/bin/* /usr/local/bin/ \
|
||||
&& cp -r cmake-3.31.1-linux-x86_64/share/* /usr/local/share/ \
|
||||
&& rm -rf cmake-3.31.1-linux-x86_64 cmake.tar.gz
|
||||
|
||||
# Add yank script
|
||||
COPY --chown=root:root <<-"EOF" /usr/local/bin/yank
|
||||
#!/bin/bash
|
||||
|
||||
Reference in New Issue
Block a user