Initial commit from https://devstar.cn/templates/base.git ( 2110c117966989f2d02afeb36f08481ed1c5d1b6 )

This commit is contained in:
2025-11-01 09:43:50 +00:00
repo.diff.commit e83265881b
repo.diff.stats_desc%!(EXTRA int=14, int=594, int=0)

18
.devcontainer/Dockerfile Normal file
repo.diff.view_file

@@ -0,0 +1,18 @@
FROM mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04
# 安装 build-essential 和调试工具
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
gdb \ # 添加GDB调试器
gcc \
make && \
# 清理 apt 缓存
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# 设置工作目录
WORKDIR /workspace
CMD ["/bin/bash"]