✨ 添加多个开发环境的 Docker 配置,包括 Debian、Maven、LaTeX 和 Rust,移除旧的 Rust 配置
This commit is contained in:
21
rust/Containerfile
Normal file
21
rust/Containerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
# 使用官方Rust镜像
|
||||
FROM rust:latest
|
||||
|
||||
# 安装必要的系统依赖和工具
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
libssl-dev \
|
||||
pkg-config \
|
||||
git \
|
||||
vim \
|
||||
curl && \
|
||||
apt-get clean &&\
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 配置工作目录
|
||||
#WORKDIR /app
|
||||
WORKDIR /workspace
|
||||
# 设置默认启动命令
|
||||
CMD ["bash"]
|
||||
|
Reference in New Issue
Block a user