This commit is contained in:
parent
366d0420dc
commit
cf53e5317b
16
.devcontainer/Dockerfile
Normal file
16
.devcontainer/Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
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 && \
|
||||
#清理 apt 缓存
|
||||
apt-get autoremove -y && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 设置工作目录(可选)
|
||||
WORKDIR /workspace
|
||||
|
||||
# 可以添加其他的自定义设置,比如复制源代码等
|
||||
|
||||
CMD ["/bin/bash"] # 可以添加默认命令,比如进入 bash
|
Loading…
Reference in New Issue
Block a user