docker-remote-desktop icon indicating copy to clipboard operation
docker-remote-desktop copied to clipboard

use Alpine linux to radical slim down the docker size

Open MaxPeal opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. use Alpine linux to radical slim down the docker size, as the docker size of docker-wine is realy big with over 1GB

alternative mybe https://github.com/docker-slim/docker-slim

MaxPeal avatar Feb 14 '22 19:02 MaxPeal

I made a simple image, and using Alpine doesn't seem to reduce the size.

(There is a CJK font in it, which may be tens of MB)

Image

wcbing avatar Apr 28 '25 15:04 wcbing

I'd considered using alpine but that comparison is crazy since it doesn't even include firefox which takes up about 300MB of the docker-remote-desktop image. I wonder if setup-desktop xfce is adding a bunch more dependencies?

scottyhardy avatar Apr 29 '25 22:04 scottyhardy

Alpine's setup-desktop includes firefox for all desktop.

After docker compression, this image is only 300MB+ when uploaded to docker hub, which is slightly smaller than yours. Later, when I use podman to compress and upload, it becomes over 400MB 😂

wcbing avatar Apr 30 '25 02:04 wcbing