speedup build - use of pre-build image

This commit is contained in:
2024-08-07 13:59:31 +02:00
parent 7f96322e96
commit 98f9aaa8db
2 changed files with 11 additions and 9 deletions

View File

@@ -1,10 +1,4 @@
image: registry.hub.docker.com/bitnami/minideb:bullseye
before_script:
# following ones get updated, so they are not installed from Debian package repo: python3-sphinx python3-pybtex python3-pybtex-docutils
- install_packages pip jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-smmap python3-soupsieve python3-toml
# limit to v0.14.0 until there is a fix for https://github.com/executablebooks/jupyter-book/issues/1964
- pip install jupyter-book==0.14.0 && rm -r /root/.cache/pip
image: container.psi.ch/linux-infra/documentation
pages:
stage: deploy

View File

@@ -1,6 +1,6 @@
# Overview
This is the collection of all linux related documentation.
This is the collection of all Linux related documentation.
The documentation is build via a gitlab runner (git-pages) and the content is accessible at: https://linux.psi.ch
> The content is actually served at: http://linux-infra.gitpages.psi.ch/documentation, however on linux.psi.ch there is a web server redirecting to this URL.
@@ -8,4 +8,12 @@ The documentation is build via a gitlab runner (git-pages) and the content is ac
To change stuff, simply edit the the Markdown and/or rst files and push to the git repository. The rendered page will update a few seconds (up to a minute) afterwards (Don't forget to refresh your browser cache for the page!).
> Ideally convert the .rst files you touch to Markdown!
> Ideally convert the .rst files you touch to Markdown!
# Administration
Build required docker image:
```bash
docker build -t container.psi.ch:linux-infra/documentation .
docker push container.psi.ch/linux-infra/documentation
```