Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/docker-hub-frolvlad/docker-alpine-php

The smallest Docker image with *only* PHP interpreter (17MB)
https://github.com/docker-hub-frolvlad/docker-alpine-php

alpine docker-image php

Last synced: about 2 months ago
JSON representation

The smallest Docker image with *only* PHP interpreter (17MB)

Awesome Lists containing this project

README

        

[![Docker Stars](https://img.shields.io/docker/stars/frolvlad/alpine-php.svg?style=flat-square)](https://hub.docker.com/r/frolvlad/alpine-php/)
[![Docker Pulls](https://img.shields.io/docker/pulls/frolvlad/alpine-php.svg?style=flat-square)](https://hub.docker.com/r/frolvlad/alpine-php/)

PHP Docker image
================

This image is based on Alpine Linux image, which is only a 5MB image, and contains
[PHP](http://php.net/) programming language.

This image is only 17MB on disk.

NOTE: This image is not really intended for a site hosting use-case. It is
created to run pure PHP code from a shell.

Usage Example
-------------

```bash
$ docker run --rm frolvlad/alpine-php php -r 'echo "Hello World";'
```

Once you have run this command you will get printed 'Hello World' from PHP!