Sign inSign up

forumone/f1-ext-install

By forumone

Updated over 6 years ago

PHP extension helper for Docker image builds

Image
0

3.0K

forumone/f1-ext-install repository overview

About the command

Examples

# Install a builtin (GD, opache, etc.)
f1-ext-install builtin:gd

# Install a PECL package
f1-ext-install pecl:memcached

# Install a PECL package at a specific version
f1-ext-install pecl:[email protected] # last supported version for PHP 5.6

# Install multiple packages at once (the recommended method)
f1-ext-install builtin:gd builtin:opcache pecl:memcached

# View help
f1-ext-install --help

About the image

By itself, this image is useless. It's meant to be COPYed into a PHP-based image:

FROM php:cli-alpine

COPY --from=forumone/f1-ext-install f1-ext-install /usr/bin

RUN f1-ext-install builtin:gd

Source

This image is built from forumone/f1-ext-install on GitHub.

Tag summary

Content type

Image

Digest

Size

1.1 MB

Last updated

over 6 years ago

docker pull forumone/f1-ext-install