-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Switch from Arch to Alpine #249
Labels
Comments
EDM115
changed the title
[FEATURE REQUEST] Reduce the size of the Docker image
[FEATURE REQUEST] Switch from Arch to Alpine
Nov 13, 2024
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
first tests :
|
EDM115
added a commit
that referenced
this issue
Nov 15, 2024
- renamed the module from `unzip` to `unzipbot` to avoid confusion. The `unzipbot` variable have been renamed to `unzipbot_client` in consequence - uses python:3.12-alpine, correct deps, clones the right branch - followup to #249 : - pzip have been replaced by 7zip - unrar have to be build by hand - this means we have some extra deps, also for some python deps - we could precompile them in another repo to remove deps such as g++, gcc, libffi-dev, make and musl-dev - the current image size is 530 MB which is a x4 improvement ! - added a unrar build script - deletes 0B thumbnails caused by FILE_REFERENCE_EXPIRED. Also warns the user if such thing happens, going to automate the retrieval process later on - special handling for rar files. splitted rars aren't handled yet. splitted zips and 7z (.001) still works
idea : create a container step where we just build unrar and the python deps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would allow for a smaller image size (potentially from 2 Gb to 200 Mb)
Research to do :
p7zip
, repo7-zip
, repounzip
, repop7zip
is only up to 3.17, repounrar
is only up to 3.14, repobash
by defaultffmpeg
gcc
? (mostly for building some pip deps)python
zstd
? (do we keep support ?)The text was updated successfully, but these errors were encountered: