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.1.0.tar.gz
.
File metadata
- Download URL: docker-travis-php-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 258598e19629361b57e82d889f1f23be513ea2e27aba16b48f6d531a1792a5ef |
|
MD5 | c132084d94dc54b938d45be678cc6896 |
|
BLAKE2b-256 | cb505afa63a980f44d6c6f9bdbd526b0311058be7b3e2ec6700d2b1c1a83698c |
File details
Details for the file docker_travis_php-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: docker_travis_php-0.1.0-py2-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1964a63f2481234db86312c5f22183078c8be71335f5087464c6375b149f7a3a |
|
MD5 | 4f0197a677f23cf70971921868b48e0f |
|
BLAKE2b-256 | ba07999816eefcf83e2cc31bc733f218864ce93389d8be4eaf6c632442e3624e |