News for hackers. Stuff that matters.
Re:TKLX – A super slim container image based on Debian GNU/L... by buster on Friday October 06, 2017 @09:04AM (#15416449)
I have the feeling that there is more obsession with small base images (leading to a few unused megabytes of diskspace on my 1TB disk) as compared to some text editors eating up my limited memory and CPU nowadays.

How is that? Do people really realize that there is not much difference between a 52MB base image and a 17MB base image? It's a relatively small waste on my disk. Network wise, it's also not much of a difference. My text editor eating up hundreds of megabytes of memory to show some files, that's ok, though? :(

Re:TKLX – A super slim container image based on Debian GNU/L... by tbrock on Friday October 06, 2017 @09:50AM (#15416738)
You must have great internet that has symmetric upload and download speeds. When I’m home (in San Francisco with $100+/month connection), the difference between pushing a 12mb image and a 100mb or 300mb image is 10 minutes.

At work I don’t care because our connection is symmetric but while upload speeds are routinely 1-5mbit, if you are lucky (on dsl it’s worse), it matters.

Re:TKLX – A super slim container image based on Debian GNU/L... by subway on Saturday October 07, 2017 @03:50AM (#15422797)
If you're shipping a binary image back upstream, you're doing it wrong.

Artifact builds absolutely positively should never happen on developer workstations. Perform local builds as a test, but always push your build instructions and source to a centralized builder.

If you even remotely respect the folks who depend on binaries of your code as a developer, you will avoid shipping those binaries yourself. Send build instructions to a 3rd party and allow them to distribute the binary and keep yourself honest.

Re:TKLX – A super slim container image based on Debian GNU/L... by AtomicOrbital on Sunday October 08, 2017 @06:07PM (#15430264)
Solution : no need for super fast home internet when dealing with docker images .. get yourself a server (VPS) on ovh.com for $7/mo 4gb ram and do your docker image builds and push there to avoid having slow uploads from home ... total game changer ... the gives you the liberty to work from even a slow internet connection since there is slim to no bandwidth needed to issue commands on remote server via ssh connection
Re:TKLX – A super slim container image based on Debian GNU/L... by fredsted on Friday October 06, 2017 @09:22AM (#15416563)
I don’t know if it’s changed, but it hasn’t been that easy to cleaning up old images in Docker, so small images can save a lot of disk space on a QA environment where containers are continuously created and destroyed, for example.

Also, it’s probably a lot easier to cut off a few megabytes off an image than fixing Atoms ram usage.

Re:TKLX – A super slim container image based on Debian GNU/L... by chrismorgan on Friday October 06, 2017 @09:22AM (#15416564)
I suspect that most of those of us that make a hobby of minification (whether it be container images, JavaScript, images or anything else) use Vim or other non-wasteful text editors.
Re:TKLX – A super slim container image based on Debian GNU/L... by matt_wulfeck on Friday October 06, 2017 @10:37AM (#15417090)
We’ve moved away from an obsession with a small base container (which balloons the second you install anything useful on it) to a base-image that’s “warm” on most locations. This way the container only has to add a few layers. The downside is a cold host can take up to a minute to warm up. Easy solutions for that one.
Re:TKLX – A super slim container image based on Debian GNU/L... by jacobparker on Friday October 06, 2017 @07:47AM (#15416000)
An alternative way to create small container images is to not base them off a distro at all: https://news.ycombinator.com/item?id=15415992
Re:TKLX – A super slim container image based on Debian GNU/L... by sambaynham on Friday October 06, 2017 @07:32AM (#15415918)
Aww. Unmaintained. I desperately want a slim debian-based image I can use in place of alpine (Nothing against Alpine, I'm just a deb-head at heart.)
Re:TKLX – A super slim container image based on Debian GNU/L... by globulo on Friday October 06, 2017 @08:05AM (#15416090)
You could try https://github.com/bitnami/minideb - about 52Mb uncompressed.
Re:TKLX – A super slim container image based on Debian GNU/L... by softblush on Friday October 06, 2017 @10:12AM (#15416895)
What makes you think it is unmaintained? Just because there was no commit for some time? Maybe there is nothing more to add. It's just a small base image which probably does everything it should for the creator. There also are no open issues or PR.
Re:TKLX – A super slim container image based on Debian GNU/L... by sleepybrett on Friday October 06, 2017 @11:29AM (#15417543)
not updated in a year?
Re:TKLX – A super slim container image based on Debian GNU/L... by nikolay on Friday October 06, 2017 @11:11AM (#15417373)
There's debase, too, which is Ubuntu-based: https://news.ycombinator.com/item?id=15403629
Re:TKLX – A super slim container image based on Debian GNU/L... by nikolay on Friday October 06, 2017 @04:46AM (#15415320)
Source code: https://github.com/tklx/base

Image size: 52MB (uncompressed), 21MB (compressed)

Re:TKLX – A super slim container image based on Debian GNU/L... by Val_ on Friday October 06, 2017 @06:28AM (#15415674)
unmaintained, latest commit fae9376 on Sep 12, 2016 ...
Re:TKLX – A super slim container image based on Debian GNU/L... by softblush on Friday October 06, 2017 @10:12AM (#15416906)
Why does that mean unmaintained? Maybe there is nothing more to add. It's just a small base image which probably does everything it should for the creator. There also are no open issues or PR. Funny how no commit in some time equals unmaintained nowadays.
Re:TKLX – A super slim container image based on Debian GNU/L... by hayd on Friday October 06, 2017 @10:38AM (#15417099)
Wouldn't there be security patches/releases in that time? Or do they not sit in the repo?
Re:TKLX – A super slim container image based on Debian GNU/L... by nikolay on Friday October 06, 2017 @11:13AM (#15417398)
One can always do apt-get update && apt-get upgrade && apt-clean (the last being a convenience command by TKLX) in their first RUN after FROM.
Re:TKLX – A super slim container image based on Debian GNU/L... by lsllc on Friday October 06, 2017 @12:18PM (#15417966)
ARM support?