Autoload
PHP Packages: Composer Autoload
docker run --rm --interactive --tty \
--volume $PWD:/app \
composer:1.9.3 require psr/log "^1.0"
docker run --rm --interactive --tty \
--volume $PWD:/app \
composer:1.9.3 dump-autoload
FROM composer:1.9.3
# Install required packages
RUN apk --no-cache add php7-gd freetype-dev libjpeg-turbo-dev libpng-dev
RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j "$(nproc)" gd
PHP Packages: Composer Autoload
PHP Packages: Composer Custom docker composer image