Add Devcontainers and Docker Environment

This commit is contained in:
2026-05-23 20:50:39 +08:00
parent 9942437537
commit 638bea6dbb
3 changed files with 68 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM mcr.microsoft.com/devcontainers/base:dev-ubuntu22.04
ENV DEBIAN_FRONTEND=noninteractive \
TZ=Asia/Shanghai \
LANG=C.UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
git ssh make gcc g++ gcc-multilib g++-multilib \
module-assistant expect gawk texinfo libssl-dev \
bison flex fakeroot cmake unzip gperf autoconf \
device-tree-compiler libncurses5-dev pkg-config bc \
python-is-python3 openssl openssh-server openssh-client \
vim file cpio rsync curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
CMD ["/bin/bash"]