News for hackers. Stuff that matters.
Re:Setting Up a Software Development Environment on Alpine L... by deathanatos on Tuesday March 19, 2019 @09:06PM (#19437896)
> Ubuntu is 188 MB

Ubuntu is 88MB:

  ubuntu  bionic  47b19964fb50  5 weeks ago  88.1MB
Definitely not Alpine levels of small, sure, but the size in the article is off by a digit. But not that big, either, and I find a huge number of devs are more familiar with Ubuntu.

I'm also throwing Python into the container, so the base container size is very quickly dwarfed by that. I think if you're using something like golang or Rust, the gains would be a lot more meaningful.

Re:Setting Up a Software Development Environment on Alpine L... by saltyhitler on Tuesday March 19, 2019 @09:25PM (#19438003)
Not sure why the obsession with OS size. I don't mind having a 1GB OS that has really good functionality vs a 50MB one that has none. I do want size to be a factor for server based images which is a different beast altogether.
Re:Setting Up a Software Development Environment on Alpine L... by deathanatos on Wednesday March 20, 2019 @07:10PM (#19447915)
Bandwidth; we deploy frequently, and pushing images around is a fairly hefty part of that deploy, and the less the better. OS images don't update too often, thankfully, and Docker will only upload layers if needed, but it's still much easier to push 5MB than 80-200MB, so Alpine does have a distinct advantage there. 1GB is pushing it, a bit. (We also put much of our tooling on the host VM; generally, this can suffice IME.)

While my office has a great connection, my ISP at home is less so, particularly in the up direction. On mobile, pushing 80-200MB up is essentially not going to happen, both because it eats into my data caps quickly, and because mobile latency is such that that's really slow.

Re:Setting Up a Software Development Environment on Alpine L... by saltyhitler on Wednesday March 20, 2019 @07:52PM (#19448164)
I agree and that's why I said server based images should be small but for user based OSes, for development work or browsing, size should be the last thing on the feature list. It's the development mindset that is pushing for small OS sizes and we should put that in the backburner in exchange for a good user experience.
Re:Setting Up a Software Development Environment on Alpine L... by yata01 on Tuesday March 19, 2019 @11:49PM (#19438768)
In some cases, I think users may want that 50 MB OS so that they can add functionality as they need it. Sure, the 1 GB OS comes with some neat built in functionality, but how much of that is unnecessary for your use cases?
Re:Setting Up a Software Development Environment on Alpine L... by coldacid on Wednesday March 20, 2019 @12:04PM (#19443532)
I think that comes in under GP's exception for server images.
Re:Setting Up a Software Development Environment on Alpine L... by tbirdz on Wednesday March 20, 2019 @11:10AM (#19442953)
I think containers have a lot to do with this in a big way. When you are making a container for every app, the OS base size really starts adding up. As a one time fee the disk space for an OS image is not a big deal, but when you have to pay that disk space for every app, then that really adds up.
Re:Setting Up a Software Development Environment on Alpine L... by mbell on Wednesday March 20, 2019 @12:04PM (#19443538)
If you structure your images well you don't pay the base image cost for every app, the layer is cached and stored once on disk.
Re:Setting Up a Software Development Environment on Alpine L... by viraptor on Tuesday March 19, 2019 @09:31PM (#19438035)
They did some rearranging. Trusty was 188MB, Bionic is 88MB
Re:Setting Up a Software Development Environment on Alpine L... by akmittal on Wednesday March 20, 2019 @06:42AM (#19440756)
Re:Setting Up a Software Development Environment on Alpine L... by gtaylor on Tuesday March 19, 2019 @09:18PM (#19437971)
The images get even smaller after Bionic!
Re:Setting Up a Software Development Environment on Alpine L... by deathanatos on Wednesday March 20, 2019 @07:12PM (#19447926)
That's great to hear. I quoted Bionic simply b/c it's the LTS, and a lot of places (mine included) only use those.

(It is honestly hard enough to get people to take the time to upgrade between those. We had finally gotten the last bits off precise I feel like when bionic came out.)