sifive / wit

Workspace Integration Tool
Apache License 2.0
23 stars 13 forks source link

Optimize Wit GitHub Action Docker image size #223

Closed richardxia closed 4 years ago

richardxia commented 4 years ago

I think there are two things that we can do to minimize the GitHub Action Docker image size:

mmjconolly commented 4 years ago

Is that download size or on-disk uncompressed?

I'm thinking we only need python and git in the image

richardxia commented 4 years ago

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.