Skip to content

Commit 82e0a13

Browse files
Run docker-php-ext-install with sudo -E in CircleCI
Doing so ensures environment variables are passed through and avoids cryptic build failures.
1 parent a8a025c commit 82e0a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/plugin-circle.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ job-references:
2323
name: "Install Dependencies"
2424
command: |
2525
sudo apt-get update && sudo apt-get install subversion
26-
sudo docker-php-ext-install mysqli
26+
sudo -E docker-php-ext-install mysqli
2727
sudo sh -c "printf '\ndeb http://ftp.us.debian.org/debian sid main\n' >> /etc/apt/sources.list"
2828
sudo apt-get update && sudo apt-get install mysql-client-5.7
2929

0 commit comments

Comments
 (0)