WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.61k stars 242 forks source link

Can't build locally without Docker #73

Open dmsnell opened 1 year ago

dmsnell commented 1 year ago

It would be convenient to be able to build this project without needing to run the Dockerfile. It's an obstacle to development to have to run inside a proprietary system and to not be able to directly interact with the sources, assets, and builds.

E.g. a Makefile for the build which is then run inside Docker would be usable from the outside and inside of the container. Dockerfile is convenient for normalizing builds and enumerating the dependencies, but it's even more helpful to be able to look at that list of build dependencies, make sure they're available on my local system, and then directly build the project without Docker. It's also likely significantly more efficient to do that.

eliot-akira commented 1 year ago

have to run inside a proprietary system

For what it's worth, I recently started using Podman as a drop-in replacement for Docker. It's open source on GitHub with Apache license.

Podman is a daemonless container engine for developing, managing, and running Open Container Initiative (OCI) containers and container images. Podman provides a Docker-compatible command line front end that can simply alias the Docker cli, alias docker=podman.

It runs on Linux, macOS, Windows. Unlike Docker, it's easy to install the CLI by itself without the optional GUI (Podman Desktop, also an open-source project).