Skip to content

Commit 08c6f52

Browse files
committed
feat(legacy-create-video): [golden-master] setup local development environment
1 parent d5a4f2a commit 08c6f52

File tree

4 files changed

+504
-252
lines changed

4 files changed

+504
-252
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM composer:latest as composer
2+
3+
FROM php:7.2-fpm
4+
5+
RUN apt-get update && apt-get install -y \
6+
zlib1g-dev \
7+
libzip-dev \
8+
unzip
9+
10+
RUN docker-php-ext-install pdo_mysql && docker-php-ext-enable pdo_mysql
11+
12+
RUN pecl install xdebug && docker-php-ext-enable xdebug
13+
14+
COPY --from=composer /usr/bin/composer /usr/bin/composer

exercises/legacy_create_video/solutions/codely_php-symfony_golden-master/composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@
2222
"nelmio/api-doc-bundle": "^2.4",
2323
"friendsofsymfony/http-cache-bundle": "^1.0",
2424
"willdurand/hateoas-bundle": "^1.0",
25+
"willdurand/rest-extra-bundle": "^1.0",
2526
"hautelook/templated-uri-bundle": "^2.0",
26-
"willdurand/rest-extra-bundle": "^1.0"
27+
"ext-pdo": "*",
28+
"ext-json": "*"
2729
},
2830
"require-dev": {
2931
"sensio/generator-bundle": "~2.3",
30-
"phpunit/phpunit": "^5.6",
31-
"mockery/mockery": "^0.9.5"
32+
"mockery/mockery": "^0.9.5",
33+
"phpunit/phpunit": "^5.7"
3234
},
3335
"scripts": {
3436
"post-install-cmd": [

0 commit comments

Comments
 (0)