summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIvan Zorin <[email protected]>2023-08-14 04:13:34 +0300
committerGitHub <[email protected]>2023-08-14 11:13:34 +1000
commit20e085487e08b901c7f0923c0a98200535beca80 (patch)
treeeb759fd48da3d2f0bb74ac7e69271ffe8d5542a1
parent4cb47cf1a2694cc7b65153564b959200d036a0ef (diff)
downloadIronOS-20e085487e08b901c7f0923c0a98200535beca80.tar.gz
IronOS-20e085487e08b901c7f0923c0a98200535beca80.zip
Add python packages required by `mkdocs` into docker container (#1796)
Add PIP python packages required by mkdocs into docker container
-rw-r--r--scripts/IronOS.Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/IronOS.Dockerfile b/scripts/IronOS.Dockerfile
index c4514c1a..8da2e4af 100644
--- a/scripts/IronOS.Dockerfile
+++ b/scripts/IronOS.Dockerfile
@@ -14,14 +14,13 @@ WORKDIR /build/ironos
## - clang (required for clang-format to check C++ code formatting)
## - shellcheck (to check sh scripts)
-ARG APK_COMPS="gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf \
- newlib-arm-none-eabi"
+ARG APK_COMPS="gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi"
ARG APK_PYTHON="python3 py3-pip black"
ARG APK_MISC="findutils make git diffutils zip"
ARG APK_DEV="musl-dev clang bash clang-extra-tools shellcheck"
-# PIP packages to check & test Python code
-ARG PIP_PKGS='bdflib flake8'
+# PIP packages to check & test Python code, and generate docs
+ARG PIP_PKGS='bdflib flake8 pymdown-extensions mkdocs mkdocs-autolinks-plugin mkdocs-awesome-pages-plugin mkdocs-git-revision-date-plugin'
# Install system packages using alpine package manager
RUN apk add --no-cache ${APK_COMPS} ${APK_PYTHON} ${APK_MISC} ${APK_DEV}
@@ -32,4 +31,5 @@ RUN python3 -m pip install ${PIP_PKGS}
# Git trust to avoid related warning
RUN git config --global --add safe.directory /build/ironos
+# Copy the whole source tree working dir into container
COPY . /build/ironos