Skip to content

Commit

Permalink
添加lldb和clangd到容器中,可以使用vscode调试和补全代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Haibarapink committed Jan 17, 2025
1 parent 6c7a579 commit 3d948c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y net-tools vim git curl wget iputils-p
# locale
RUN apt-get update && apt-get install -y locales apt-utils && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

ENV LANG en_US.utf8

# dev tools
Expand Down Expand Up @@ -47,4 +48,6 @@ RUN mkdir -p /root/docker/bin && touch /etc/.firstrun
# copy starter scripts
COPY bin/* /root/docker/bin/

RUN chmod +x /root/docker/bin/*
RUN chmod +x /root/docker/bin/*

RUN apt-get install -y lldb

0 comments on commit 3d948c3

Please sign in to comment.