Commit ab8bdde2 authored by Adrian DC's avatar Adrian DC
Browse files

ci(containers): implement ':pages' image with 'mkdocs-material'

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 1242370c
Loading
Loading
Loading
Loading
+1 −0
Changes for .gitlab-ci.yml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ images:
          'build                 | python:3.12-alpine | build' \
          'codestyle             | python:3.12-alpine | codestyle' \
          'deploy                | python:3.12-alpine | deploy' \
          'pages                 | python:3.12-alpine | pages' \
          'test-coverage-linux   | python:3.12        | test-coverage-linux' \
          'test-coverage-windows | tobix/pywine:3.10  | test-coverage-windows' \
          'test-oldest           | python:3.8         | test-linux' \
+12 −0
Changes for containers/pages/Dockerfile: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
ARG IMAGE_BASE=python:3-alpine
FROM $IMAGE_BASE

# Install dependencies
RUN apk add -q \
      git

# Install requirements
COPY --from='requirements' ./pages.txt /tmp/
RUN export PIP_DISABLE_PIP_VERSION_CHECK=1 \
 && pip3 install -q -r /tmp/pages.txt --no-cache-dir --upgrade \
 && rm -f /tmp/pages.txt

requirements/pages.txt

0 → 100644
+2 −0
Changes for requirements/pages.txt: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
mkdocs>=1.6.0
mkdocs-material>=9.5.32