The Find3 server Docker image is quite large (around 1 GB).
I believe there is room to shrink this.
Advantages:
Shorter build/rebuild times
Less packages to download/configure each time
More secure (smaller security footprint).
Alpine Linux is the default base image used by Docker - and might be worth looking into.
(One of the reasons it's on Ubuntu 18.04 is for the latest Bluez - so we'll need to make sure this is still working. However, I believe this is only for the scanning machines.)
I noticed some of the packages may or may not be needed?
The Find3 server Docker image is quite large (around 1 GB).
I believe there is room to shrink this.
Advantages:
Alpine Linux is the default base image used by Docker - and might be worth looking into.
(One of the reasons it's on Ubuntu 18.04 is for the latest Bluez - so we'll need to make sure this is still working. However, I believe this is only for the scanning machines.)
I noticed some of the packages may or may not be needed?
Below is from the current
Dockerfile
curl
andwget
?vim
may not be required inside the Docker imageCurrent
ai/requirements.txt
: