Re:Show HN: FrankenPHP, an app server for PHP written in Go
by TheRealPomax on Friday October 14, 2022 @02:47PM
(#33207353)
When do things ever "just compile"? I assume the Docker image is because this is a pre-alpha and the docker image ensures that no one needs to go through hours of dependency/config hell because the docker image is set up with everything necessary already, letting you focus on alpha-testing this and reporting bugs.
[ Parent
| on HN ]
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by calvinmorrison on Friday October 14, 2022 @02:50PM
(#33207381)
typically I find CMake would do this, or Make, to verify dependencies.
Coupled with a packaging system, like debian gives you, this is all pretty straightforward.
I ran into this yesterday, and turns out I don't want to install docker just to build a program...
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by TheRealPomax on Friday October 14, 2022 @03:03PM
(#33207543)
Right, but there are as many setups as there are potential users, so even if Debian works, that doesn't mean other linux flavours will work as easily, or flavours of BSDs, and then also Macs, and even WSL, or even just plain old Windows.
Having an "everyone gets the same thing, so no one wastes time on bootstrapping" solution is a perfect use-case for Docker. And then once the bugs have been found and fixed, and the code is production-ready, you can focus on documenting and scripting the setup procedures for the various operating systems.
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by andirk on Friday October 14, 2022 @04:57PM
(#33208715)
As an aside, may I ask what people's opinion of running docker containers in prod is? The joke "But it works on my local--" "Then ship your local".
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by francislavoie on Friday October 14, 2022 @06:52PM
(#33209740)
The big win of Docker for me is parity between dev and prod. I absolutely run on Docker in prod. It is not just a dev tool.
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by tracker1 on Saturday October 15, 2022 @06:53AM
(#33213637)
Been using docker in prod for over 5 years now...
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by badcppdev on Monday October 17, 2022 @06:30AM
(#33231707)
I don't understand. I thought you needed different docker files for different architecture? x64 vs M1 chips?
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by gocartStatue on Saturday October 15, 2022 @02:12AM
(#33212203)
Or Nix :)
Re:Show HN: FrankenPHP, an app server for PHP written in Go
by TheRealPomax on Saturday October 15, 2022 @06:52PM
(#33219388)
Except of course in this case that's not what you'd be doing. You'd be installing Docker to help beta-test a program, not "just build a program". If you want to help an open source project succeed, having to install Docker is kind of a trivial cost. If you want to use this... probably not a good idea, it's extremely not ready for general use =)