Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Use lighter Docker image for faster deployment #1

Open
IgnacioHeredia opened this issue Apr 9, 2024 · 0 comments
Open

Use lighter Docker image for faster deployment #1

IgnacioHeredia opened this issue Apr 9, 2024 · 0 comments

Comments

@IgnacioHeredia
Copy link
Member

IgnacioHeredia commented Apr 9, 2024

Current image:

  • tensorflow:2.16.1.
    Local size (cpu version) after build: 2.12 GB

Alternative options:

--> cons: no GPU image

  • python:3.12-slim
    Extra packages needed: build-essential , python3-dev
    Local size after build: 939 MB

  • ubuntu:22.04:
    Extra packages needed: python3, python3-pip, build-essential , python3-dev
    Local size after build: 831 MB

Results
We delay the decision until moving to new Jenkinspipeline, and we see how easy is to define two different base images (so we can have a light Ubuntu CPU version and a heavy Tensorflow GPU version).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant