Open zanminkian opened 1 year ago
The releases are generated from GitHub actions artifacts which are always zip (Microsoft choice I guess). They are indeed less convenient on Linux. Installing unzip is not hard and I donโt plan on making my release process harder right now. Maybe in the future! Is there a special reason for this request?
Thanks for considering. It's not an urgent feature. For me, I have some docker images which have installed fnm. I want to decrease my docker image size by getting rid of unzip
.
I want to decrease my docker image size by getting rid of
unzip
.
Use a mult-stage build in Dockerfile
. You can have a stage with unzip
, that extracts the file and then COPY
only that output from the unzip stage. It will not bloat the final image then ๐
Another option is to use RUN --mount
which can sometimes be useful to temporarily mount another image in a stage and run binaries from it only within that RUN
layer. Due to the --mount
those binaries (like unzip) would not be added into the RUN
layer weight.
Currently, the releases are
zip
files.zip
files are not very friendly to linux system. I hope we can providetar
files as releases.