further shrink the generator image
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
image: debian:latest
|
||||
image: registry.hub.docker.com/bitnami/minideb:bullseye
|
||||
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install -y ca-certificates && apt-get clean
|
||||
- apt-get install -y pip && apt-get clean
|
||||
# following ones get updated, so they are not installed from Debian package repo: python3-sphinx python3-pybtex-docutils
|
||||
#- 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-smmap python3-soupsieve python3-toml && apt-get clean && rm -r /var/lib/apt /usr/share/doc /usr/share/man
|
||||
- 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 python3-pybtex
|
||||
- pip install jupyter-book && rm -r /root/.cache/pip
|
||||
|
||||
pages:
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
FROM debian:latest
|
||||
FROM registry.hub.docker.com/bitnami/minideb:bullseye
|
||||
|
||||
RUN apt-get update
|
||||
#RUN apt-get update
|
||||
# following ones get updated, so they are not installed from Debian package repo: python3-sphinx python3-pybtex-docutils
|
||||
RUN apt-get install -y 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 python3-pybtex && apt-get clean && rm -r /var/lib/apt /usr/share/doc /usr/share/man
|
||||
RUN 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 python3-pybtex
|
||||
#RUN apt-get install -y 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 python3-pybtex && apt-get clean && rm -r /var/lib/apt /usr/share/doc /usr/share/man
|
||||
RUN pip install jupyter-book && rm -r /root/.cache/pip
|
||||
|
||||
RUN mkdir -p /root/documentation
|
||||
|
||||
Reference in New Issue
Block a user