Skip to content

Commit 7ef22a1

Browse files
committed
Add composer to the dev images
1 parent 62d9366 commit 7ef22a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

layers/fpm-dev/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ EXPOSE 8000
3737
# Add `php/conf.dev.d` to the path where PHP looks for configuration files
3838
ENV PHP_INI_SCAN_DIR="/opt/bref/etc/php/conf.d:/var/task/php/conf.d:/var/task/php/conf.dev.d"
3939

40+
# Add composer
41+
COPY --link --from=composer/composer:2-bin /composer /usr/bin/composer
42+
4043
# Originally the entrypoint is `/lambda-entrypoint.sh` and CMD contains the handler name
4144
# We override the entrypoint to run our own logic
4245
ENTRYPOINT [ "/bref-entrypoint.sh" ]

0 commit comments

Comments
 (0)