News for hackers. Stuff that matters.
Re:I Miss Heroku's DevEx by ek750 on Thursday May 12, 2022 @07:13PM (#31361220)
I'm familiar with docker but certainly not an expert, so this is surprising to me. Is it really possible to have a single line dockerfile?

The smallest one I've used was probably a screen full, due to updating packages, setting up bundler paths, etc. A production dockerfile is much larger with non-root user shenanigans, etc.

But to answer your question about Heroku, a Procfile is much smaller and more constrained in scope than a Dockerfile.

Re:I Miss Heroku's DevEx by girvo on Thursday May 12, 2022 @10:55PM (#31362754)
> I'm familiar with docker but certainly not an expert, so this is surprising to me. Is it really possible to have a single line dockerfile?

Not single line, but two lines, sure. Though you're at the mercy of your upstream image and how it configures things. Though I guess that's also true of buildpacks.

Plenty of my Dockerfiles are no more than a couple lines.

Heroku was still nicer in most ways of course, at least in my opinion.