try to make CD runner image smaller as it still fails with running out of disk space

This commit is contained in:
2022-02-10 09:44:00 +01:00
parent 419ae66813
commit ee19ce4fa2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ before_script:
- apt-get install -y pip && apt-get clean
- apt-get install -y python3-sphinx && apt-get clean
- apt-get install -y jupyter-notebook && apt-get clean
- apt-get install -y python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml && apt-get clean
- pip install jupyter-book && pip cache purge
- apt-get install -y python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml && apt-get clean && rm -r /var/lib/apt
- pip install jupyter-book && rm -r /root/.cache/pip
pages:
stage: deploy
+2 -2
View File
@@ -1,8 +1,8 @@
FROM debian:latest
RUN apt-get update
RUN apt-get install -y pip python3-sphinx jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml && apt-get clean
RUN pip install jupyter-book && pip cache purge
RUN apt-get install -y pip python3-sphinx jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml && apt-get clean && rm -r /var/lib/apt
RUN pip install jupyter-book && rm -r /root/.cache/pip
RUN mkdir -p /root/documentation
COPY * /root/documentation