Convert base image to use alpine instead of ubuntu
Closed this issue · 4 comments
eldadfux commented
We are looking for ways to make Appwrite Docker images smaller.
SoftCreatR commented
I would take this over. I'm not a Docker expert (started 2 weeks ago to work with it), but i made a good progress so far.
Before (based on ac15834):
REPOSITORY TAG IMAGE ID CREATED SIZE
appwrite/clamav ubuntu e050db8f8fae 10 seconds ago 163MB
ubuntu 18.04 c14bccfdea1c 8 days ago 63.2MB
After:
REPOSITORY TAG IMAGE ID CREATED SIZE
appwrite/clamav alpine b026b81f32d0 11 seconds ago 18MB
alpine 3 a24bb4013296 3 months ago 5.57MB
eldadfux commented
Wow, that looks like a huge improvement. I have assigned you the issue.
Feel free to reach out on Discord (https://appwrite.io/discord) if you have any question.
devmohit-live commented
Is there any specific version of alpine docker image is required or latest one will do the work?
SoftCreatR commented
I'm using the latest one.
I'm already done, converting this. I'll soon create the PR.