Shits out a simple dockerfile for php projects based upon a .travis.yml
Literally don’t use this and assume it’ll work. It probably won’t. Hence the description.
Literally the worst. I can’t even.
Installation
Using PIP via PyPI:
pip install docker-travis-php
Using PIP via Github:
pip install git+git://github.com/josegonzalez/docker-travis-php.git#egg=docker-travis-php
Usage
In a directory with a .travis.yml, run the following:
docker-travis-php
You will now have a Dockerfile in that directory that can be run via the following command:
# builds the ``before_script`` and ``script`` sections
# useful for "local" travis runs
docker build .
The default debian packages that are installed (before php extensions) are as follows:
git-core
libcurl4-openssl-dev
libicu-dev
php-pear
php5-cli
You can add more by using the following environment variable:
export PACKAGES=wget
docker-travis-php
By default, the following extensions are built:
curl
intl
mbstring
mysql
redis
xdebug
You can configure this using the following environment variable:
export EXTENSIONS=curl,intl,mbstring
docker-travis-php
Metadata
Release files for docker-travis-php 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docker-travis-php-0.2.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docker_travis_php-0.2.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 10.6 kB
Release files / docker-travis-php-0.2.1.tar.gz
| Download URL | docker-travis-php-0.2.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45ff59e09d87cca73bf0bbef5cbc0401886cfea4c421c5fb9103aeff7a964bdd
|
|
BLAKE2b-256 checksum How to use checksums |
8d26a9881e0815cc65f6d77a8dd4a82f49baa31ebfd58fadcf55983185ed82cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / docker_travis_php-0.2.1-py2-none-any.whl
| Download URL | docker_travis_php-0.2.1-py2-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
cc343b82795266c2e937f31e7ba860a19d458a51e671dff45f16f3d94b885deb
|
|
BLAKE2b-256 checksum How to use checksums |
9950a9e1cc51df9cb34e6ea2ca88d996c6a9f477a2c8c19f73f33ab55fecaa74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|