Hello Dik On Sun, Sep 15, 2019, 22:42 Dik Takken <d.tak...@xs4all.nl> wrote:
> On 15-09-19 20:49, Nikita Popov wrote: > > > > Anyone interested in doing this? > > > > Hi Nikita, > > May I suggest to provide instructions to build using Docker? This has a > number of advantages: > > * Same instructions will work on Linux, MacOS and Windows > * No need to install build dependencies on your host > * Spin up a MySQL container by running 'docker run mysql:version' > > I took this route a while ago when I needed to setup a dev environment > and it works nicely. I could do a write-up of this route if desired. > > Part of the instructions could be cast into a Docker image that can be > published on Github and Docker Hub. This image could even have the > command to run the tests baked into the image itself. Then, anyone can > just run > > docker run php-tests:7.4 > > to build the sources and run the tests. For development you can mount > your local git clone in the container. > > Regards, > Dik Takken > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php The main problem with Docker and php-src is that we need to touch the OS in order to make sure the new features and bugfixes will be compatible. Docker create a layer on top of that, right? Best regards, > >