File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ layer /php71.zip
Original file line number Diff line number Diff line change 11ROOT_DIR: =$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
22
3- all :
4- rm -f php-layer .zip
3+ php71.zip :
4+ rm -f php71 .zip
55 echo $(ROOT_DIR )
66 docker run --rm -v $(ROOT_DIR ) :/opt/layer lambci/lambda:build-nodejs8.10 /opt/layer/build.sh
Original file line number Diff line number Diff line change 11#!/opt/bin/php -c/opt/php.ini
22<?php
33
4- ini_set ('display_errors ' , 'On ' );
54error_reporting (E_ALL | E_STRICT );
65
76$ AWS_LAMBDA_RUNTIME_API = getenv ('AWS_LAMBDA_RUNTIME_API ' );
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ cp /usr/lib64/libedit.so.0 lib/
1919
2020cp -a /usr/lib64/php lib/
2121
22- zip -r /opt/layer/php-layer .zip .
22+ zip -r /opt/layer/php71 .zip .
You can’t perform that action at this time.
0 commit comments