sairate 4108f6c42d docs(book): 添加现代 C++教程及相关代码
- 新增现代 C++ 教程的 Preface 章节,包括英文和中文版本
- 添加 C++ Primer 练习代码
- 新增 Learn C++ 教程的 C++ 开发简介章节
- 添加头文件解析文档
- 更新 mkdocs.yml,包含新教程的目录结构
- 修改项目设置,使用 Python 3.10环境
2025-07-06 16:14:43 +08:00

19 lines
536 B
Docker

FROM node:latest
LABEL "maintainer"="Changkun Ou <hi[at]changkun.de>"
LABEL "repository"="https://github.com/changkun/modern-cpp-tutorial"
LABEL "homepage"="https://changkun.de/modern-cpp/"
# For Unicode
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
WORKDIR /modern-cpp-tutorial
# Node & Npm & Python3 are from node:latest
# Install Texlive & Pandoc
RUN apt update && \
apt install wget texlive-full -y && \
wget https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb && \
dpkg -i pandoc-2.7.3-1-amd64.deb