UWNetworksLab / uProxy-p2p

Internet without borders
https://www.uproxy.org/
Apache License 2.0
862 stars 181 forks source link

Consider switching cloud Docker images to Alpine #2376

Open agallant opened 8 years ago

agallant commented 8 years ago

https://github.com/gliderlabs/docker-alpine

Image size starts at 5mb - basically it's just busybox + Alpine's package manager (https://pkgs.alpinelinux.org/packages). Packages available include nodejs (4.3 and 5.1), firefox (38, 45), and hopefully the other stuff we need. No idea if it hits the same init issue that most Docker images apparently do (https://github.com/uProxy/uproxy-docker/pull/81).

Still, this would basically be the only substantial improvement remaining for size/install time while still sticking with monolithic Docker images. Would be a reasonable fallback plan if running node more directly doesn't work well.

agallant commented 7 years ago

Another related option - https://www.iron.io/microcontainers-tiny-portable-containers/