Closed richardxia closed 4 years ago
Is that download size or on-disk uncompressed?
I'm thinking we only need python and git in the image
According to the docs on docker image
:
The SIZE is the cumulative space taken up by the image and all its parent images. This is also the disk space used by the contents of the Tar file created when you docker save an image.
I'm thinking we only need python and git in the image
Yes, I believe that's true. We could even just start with an official Python Alpine Docker image so that we only have to install git
.
I think there are two things that we can do to minimize the GitHub Action Docker image size:
Switch to an Alpine base image, which will be much smaller. It does actually look like, however, that the newer Ubuntu images are also a lot smaller than 16.04: