bonus-edge-proxy/docker/dev/Dockerfile

29 lines
917 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =================================================================
# Edge Proxy - Development Environment Dockerfile (V2)
# =================================================================
FROM arm64v8/ubuntu:22.04
# --- 设置工作目录 ---
WORKDIR /app
# --- 安装核心依赖 ---
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
build-essential \
cmake \
git \
gdb \
vim \
# --- 新增依赖 ---
# spdlog 开发库
libspdlog-dev \
# Boost C++ 开发库 (这是一个元数据包会安装所有Boost库)
# 提醒: libboost-all-dev 体积较大,对于生产环境镜像,
# 后续可以优化为只安装需要的特定模块 (例如 libboost-system-dev)。
# 但对于开发环境,它提供了最大的便利性。
libboost-all-dev && \
# 清理apt缓存减小镜像体积
rm -rf /var/lib/apt/lists/*