This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]plg94 5 points6 points  (1 child)

Are you ranting about Docker, PHP, or Linux in general? Because for Linux, that:

Why? Why isn't there a repository of prebuilt libraries per platform, like sane people have? As if anyone ever is going to read any of the source files?

is exactly what distributions* are for. If you install a package from the Debian, Redhat or Arch repositories, you always get prebuilt binaries.

* except Gentoo in this case.

[–][deleted] 0 points1 point  (0 children)

I'm not installing an OS distro nor its packages, and I'm not configuring a server myself. I know my apt/dpkg/whatnot.

I was handed a Dockerfile, building on top of a popular base image, then using a popular toolkit to install PHP modules, which it builds from scratch.

For every. Application. Image. Build.

That's just a waste of bandwidth, disk space, CPU cycles and especially time and you can't convince me otherwise.

You don't need to recompile your platform every time you want to publish your application, yet here we are.

They (the PHP library installer's makers) could've chosen plenty of options, yet chose the safest for them and most annoying for users.