Skip to content

Commit 7c4080e

Browse files
committed
fix(bitrix): eval which php to get php binary path. close #11
1 parent e87a2c8 commit 7c4080e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
set -e
3-
echo "*/5 * * * * /usr/bin/php -f /var/www/html/bitrix/modules/main/tools/cron_events.php" | crontab -
3+
echo "*/5 * * * * $(which php) -f /var/www/html/bitrix/modules/main/tools/cron_events.php" | crontab -

test/basic/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ version: '3'
33
services:
44
test:
55
build: ../../
6-
volumes:
7-
- ../../spaceonfire:/opt/spaceonfire:Z
6+
image: spaceonfire/nginx-php-fpm:next
87
ports:
98
- 8080:80
109
environment:

test/bitrix/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: '3'
33
services:
44
test:
55
build: ../../
6+
image: spaceonfire/nginx-php-fpm:next
67
volumes:
78
- ./:/var/www/html:Z
89
ports:

test/laravel/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ version: '3'
33
services:
44
test:
55
build: ../../
6-
# volumes:
7-
# - ../../spaceonfire:/opt/spaceonfire:Z
6+
image: spaceonfire/nginx-php-fpm:next
87
ports:
98
- 8080:80
109
environment:

test/wordpress/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: '3'
33
services:
44
test:
55
build: ../../
6+
image: spaceonfire/nginx-php-fpm:next
67
ports:
78
- 8080:80
89
environment:

0 commit comments

Comments
 (0)