Skip to content

Commit fffde6c

Browse files
committed
Initial import
0 parents  commit fffde6c

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### PHP-FPM Laravel
2+
3+
Playing a little with Docker to build an environment for Laravel.

composer.phar

1.76 MB
Binary file not shown.

go.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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

0 commit comments

Comments
 (0)