Skip to content

Commit 9fccbad

Browse files
authored
Update the docs for the v2 release (#412)
1 parent 5df9188 commit 9fccbad

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Readme.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ service: app
2121
provider:
2222
name: aws
2323
region: us-east-1
24-
runtime: provided.al2
2524

2625
plugins:
2726
- ./vendor/bref/bref
@@ -30,10 +29,9 @@ plugins:
3029
functions:
3130
console:
3231
handler: bin/console
32+
runtime: php-81
3333
layers:
34-
- ${bref:layer.php-81}
3534
- ${bref-extra:amqp-php-81} # <----- Example for AMQP layer
36-
- ${bref:layer.console}
3735
```
3836
3937
### Available layers
@@ -161,9 +159,8 @@ docker-compose.yml
161159
162160
Dockerfile-phpFpm
163161
```
164-
FROM bref/extra-mongodb-php-82 as mongodbextra
165162
FROM bref/php-82-fpm-dev
166-
COPY --from=mongodbextra /opt /opt
163+
COPY --from=bref/extra-mongodb-php-82 /opt /opt
167164
```
168165
169166
## For contributors and maintainers
@@ -172,7 +169,7 @@ COPY --from=mongodbextra /opt /opt
172169
173170
The idea is to start from bref/build-php-XX, install all libraries and extensions
174171
you want, then move all related files to `/opt`. Those files will be available in
175-
the same same location on the Lambda.
172+
the same location on the Lambda.
176173
177174
Note that one can't just move files/libraries around. Most of them are expected to
178175
be in their "standard" location.

0 commit comments

Comments
 (0)