Image build time is currently around a few minutes, which can be attributed to the full jupyter notebook image being 4 GB.
We really don't need that since we are just running a single ipynb file.
Also, there are security issues because of the large attack surface.
Solution
As an alternative, switch to distroless image which will only include what is needed.
This will ensure that the container running in the TEE is minimal.
Problem
Image build time is currently around a few minutes, which can be attributed to the full jupyter notebook image being 4 GB. We really don't need that since we are just running a single
ipynb
file. Also, there are security issues because of the large attack surface.Solution
As an alternative, switch to distroless image which will only include what is needed. This will ensure that the container running in the TEE is minimal.