Currently the gimie container for x86 stands at ~815MB divided as follows (docker history command):
Layer size
RUN /bin/sh -c useradd -ms /bin/bash gimie_u… 332kB
COPY .docker/entrypoint.sh /entrypoint.sh # … 215B
COPY /app /app # buildkit 582MB
RUN /bin/sh -c set -eux; savedAptMark="$(a… 12.2MB
RUN /bin/sh -c set -eux; for src in idle3 p… 32B
RUN /bin/sh -c set -eux; savedAptMark="$(a… 29.6MB
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8… 0B
RUN /bin/sh -c set -eux; apt-get update; a… 3.12MB
/bin/sh -c #(nop) ADD file:cb13581b8e7a9de43… 80.6MB
Ideas on how to reduce size:
Other ideas are welcome :)
Currently the gimie container for x86 stands at ~815MB divided as follows (
docker historycommand):Ideas on how to reduce size:
gimiefolder and accompanying pythonvenvinstead of the whole/appfolder (check if other dependencies are needed), see examplegimie. This improves Docker layer caching (see this post, section 4)devdependencies from installation since they're not necessary to execute gimie (poetry install --without devarg)Other ideas are welcome :)