Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Commit 67024ca

Browse files
committed
Add .gitignore and switch to php71.zip
1 parent 8db7b63 commit 67024ca

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
layer/php71.zip

layer/Makefile

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

layer/bootstrap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/opt/bin/php -c/opt/php.ini
22
<?php
33

4-
ini_set('display_errors', 'On');
54
error_reporting(E_ALL | E_STRICT);
65

76
$AWS_LAMBDA_RUNTIME_API = getenv('AWS_LAMBDA_RUNTIME_API');

layer/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ cp /usr/lib64/libedit.so.0 lib/
1919

2020
cp -a /usr/lib64/php lib/
2121

22-
zip -r /opt/layer/php-layer.zip .
22+
zip -r /opt/layer/php71.zip .

0 commit comments

Comments
 (0)