#!/bin/sh # This will install our PHP modules # call peck-install module1 module2 # First install some dependancies apk add --no-cache autoconf gcc libc-dev make # Install the modules for module in $@; do pecl install -o -f ${module} && docker-php-ext-enable ${module} done # Clean up apk del --no-cache autoconf gcc libc-dev make