logoalt Hacker News

bowersbros • today at 4:12 PM • 8 replies • view on HN

Step 1: Ensure that docker images are available when the embargo is released. We're 2 hours in, and they still aren't available.


Replies

emilburzo • today at 4:35 PM

I can empathize with them, this is actually quite difficult when you're an open source project.

You have your source code public, so you can't commit/push because then you've leaked info.

Your build pipeline is also likely public, so you can't just build from another source code... source.

You can create a private repo, but now you also need to build a private build system.

You don't get the same generous build resources for private repos, so you either:

a) simplify the build to just the essentials

b) pay

Unless you have significant funding, you'll probably go for a).

Now you have to maintain two systems, also with some differences between them.

Plus you need a way to get the build artifacts from the private system to the public one, typically at a fixed point in time.

Any failure/delay (e.g. less powerful build on private repo, errors because you exercise it rarely) causes people to get upset that you didn't respect the announced time.

Maybe you're also using things like image attestation, another can of worms.

➕ show 4 replies
dofm • today at 6:44 PM

FWIW, Docker images are a nice-to-have, but OCI containers are not how most PHP users get their PHP.

For all the long-tail users, PHP is a distro package. That route needed the most work instead, and it got it.

fguerraz • today at 4:38 PM

I find it incredibly naive that they’d hope it would not leak after weeks/months of embargo.

Being given advance notice of an upcoming security fix is an immense privilege, organisations should turn around quickly when given such information, they shouldn’t be given more than a couple of days to update IMHO, it’s not like the rest of the world can wait.

➕ show 1 reply
lol768 • today at 4:30 PM

The PHP Foundation should manage it, the Docker ""Official" Images" approach clearly just doesn't work properly for responding to vulnerability patches.

thinkindie • today at 4:13 PM

today I learned that building your image from scratch is fundamental in cases like this. Luckily I came prepared thanks to Claude Code suggestion.

kyriakos • today at 4:42 PM

Aren't those run by docker? php foundation cannot be responsible

eqmvii • today at 4:27 PM

Yep, all our efforts are now focused on working around that. It's pretty neat!

Droobfest • today at 4:28 PM

Never using docker hub ever again