getting tests running with docker
| From: | Frederik Bosch | Date: | Tue, 22 May 2018 09:34:42 +0000 |
| Subject: | getting tests running with docker | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-102121@lists.php.net to get a copy of this message | ||
Hi there,
As the release managers of PHP 7.3 have been chosen - congratulations to both - I realized I have to hurry up with the implementation of the passed RFC on Same Site Cookies. A few weeks ago I was ready to start working on this. So I started with setting up my dev environment. I chose to go for a containerized setup: create a container that is ready to run tests, then mount the git repo, see that the tests are running and then start working on the feature.
However, I never managed to get a single test running. My starting point was the official Docker based on Alpine 3.7 (https://github.com/docker-library/php/blob/master/7.2/alpine3.7/cli/Dockerfile). However, when compiling PHP I always run into the same error.
|Error relocating /usr/src/php/sapi/cli/php: unsupported relocation type 37 Error relocating /usr/src/php/sapi/cli/php: unsupported relocation type 37 Error relocating /usr/src/php/sapi/cli/php: unsupported relocation type 37 Error relocating /usr/src/php/sapi/cli/php: unsupported relocation type 37 |
Do anyone has a clue what this could this be? I have very little experience with these kind of issues. Googling did not help to find the answer. Maybe someone can help, or even better, setup a Docker that is able to a) compile using travis/compile.sh and then b) run ./sapi/cli/php run-tests.php c) when mounting a (forked) git src repo into that container. I think this will improve dev experience of other people that want to help improving php source.
Kind regards,
Frederik Bosch