File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM php:5.6.30-fpm
2
+ MAINTAINER Carlos López <
[email protected] >
3
+ RUN apt-get update \
4
+ && apt-get install -y \
5
+ git \
6
+ && docker-php-ext-install -j$(nproc) pdo pdo_mysql \
7
+ && rm -rf /var/lib/apt/lists/*
8
+ COPY composer.phar /usr/local/bin/composer
9
+ RUN chmod 0755 /usr/local/bin/composer \
10
+ && mkdir /var/www/.composer \
11
+ && chown www-data:www-data /var/www/.composer
Original file line number Diff line number Diff line change
1
+ ### PHP-FPM Laravel
2
+
3
+ Playing a little with Docker to build an environment for Laravel.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ docker build -t php-fpm-laravel -t php-fpm-laravel:5.6.30 . \
3
+ && docker images -qf dangling=true | xargs -r docker rmi
You can’t perform that action at this time.
0 commit comments