Skip to main content

docker-travis-php

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)

Source distribution for docker-travis-php 0.2.1
File Size Uploaded Provenance Actions
docker-travis-php-0.2.1.tar.gz 4.9 kB Without provenance Details for docker-travis-php-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docker-travis-php 0.2.1
File Interpreter ABI Platform Actions
docker_travis_php-0.2.1-py2-none-any.whl Python 2 none any Details for docker_travis_php-0.2.1-py2-none-any.whl

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

Security for docker-travis-php 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page