Skip to content

Commit b8cbdd8

Browse files
author
Greg Bowler
committed
feature: set memory_limit to 4G
1 parent 307e4e4 commit b8cbdd8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

php-build.bash

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33

4-
php_build_version="build2.1.0"
4+
php_build_version="build2.1.1"
55

66
# Check for required variables:
77
if [ "$#" -lt 1 ]; then
@@ -73,6 +73,9 @@ do
7373
done
7474
dockerfile_unique="${dockerfile_unique}-${php_build_version}"
7575

76+
dockerfile="${dockerfile}
77+
ADD ./php-build.ini /usr/local/etc/php/conf.d"
78+
7679
# Remove illegal characters and make lowercase:
7780
GITHUB_REPOSITORY="${GITHUB_REPOSITORY,,}"
7881
dockerfile_unique="${dockerfile_unique// /_}"

php-build.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
;INI settings to set within Github Action's build runner
2+
memory_limit=4G

0 commit comments

Comments
 (0)