Shits out a simple dockerfile for php projects based upon a .travis.yml
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file docker-travis-php-0.2.0.tar.gz
.
File metadata
- Download URL: docker-travis-php-0.2.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6ad705088ac85ed2b85b28661d4331606f7dd779dde3ab0e2d93be85ee0136f |
|
MD5 | f7eb0013b31477467348c0e99c60d511 |
|
BLAKE2b-256 | 5179a6b7bd2867b0043ea3e299bee6650b367aca4fdef738463c40046b0d9147 |
File details
Details for the file docker_travis_php-0.2.0-py2-none-any.whl
.
File metadata
- Download URL: docker_travis_php-0.2.0-py2-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0373107e3b17c4a08f73ca8989c9dfbf7d020353d078c40aa544da9d4e04d5a6 |
|
MD5 | b2fd9b03ccb0452d9af7f98b5ad1b40d |
|
BLAKE2b-256 | ca77edc38124737325ab116025ce0fe0b99506225eb33e390ceee10254ce5e33 |