Commit Graph

4 Commits

Author SHA1 Message Date
Alex Palaistras 3fd7b8c18d Fix static compilation for Docker environment
It's unfortunate that Debian packages do not contain symbolic links for base libraries to their
versioned counterparts, and we need to install the `-dev` packages for that. All required packages
are now included in the Docker image's runtime dependencies, and the `static` build tag is made to
include the correct ones.
2018-06-04 10:42:52 +01:00
Alex Palaistras d92b760c17 Update PHP versions, allow building static version of PHP in Docker
This allows for building binaries against `go-php` without needing an accompanying version of the
PHP library. To build a static version of `go-php`, simply set `STATIC=true` as a Make flag, e.g.:

    make docker-build STATIC=true

The resulting `go-php` library will be placed in `.build/env/GOPATH/pkg/...` by default, and can be
used directly, but using the Docker image as a build environment will also work.
2018-06-01 14:22:40 +01:00
Alex Palaistras d0ac95b7ca Update PHP versions for Travis, move Dockerfile to 'golang' image
This adds PHP  7.2.1 as a new target, and updates existing PHP versions to their latest numbers. Be
aware that PHP 7.2.x is as-of-yet untested -- and expected to be buggy.
2018-01-07 17:07:36 +00:00
Alex Palaistras cd1c76d08e Unify Dockerfiles for easier testing across PHP versions
All PHP builds in Docker are now made against a single-unified Dockerfile, which accepts the PHP
version to target in the `PHP_VERSION` argument. Source files are currently not verified (other than
being downloaded from a secure location, as we will eventually move to using the official `php`
Docker images as a base, as soon as these catch up to latest versions of Debian.
2017-10-06 14:52:58 +01:00