Skip to content

Commit ce583b1

Browse files
committed
feat(laravel): install bcmath extension that laravel dependent on startup
1 parent 12dd039 commit ce583b1

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cgi.fix_pathinfo=0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -e
3+
4+
if php -i | grep -q "bcmath"; then
5+
echo "BCMath PHP Extension already installed"
6+
else
7+
docker-php-ext-install bcmath
8+
fi

test/laravel/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ version: '3'
33
services:
44
test:
55
build: ../../
6+
# volumes:
7+
# - ../../spaceonfire:/opt/spaceonfire:Z
68
ports:
79
- 8080:80
810
environment:

0 commit comments

Comments
 (0)