🎉 init: java, rust, latext dev containers

This commit is contained in:
2025-05-03 14:58:45 +08:00
commit 3f454b9805
6 changed files with 91 additions and 0 deletions

View 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"]