Skip to content

Commit

Permalink
Run docker-php-ext-install with sudo -E in CircleCI
Browse files Browse the repository at this point in the history
Doing so ensures environment variables are passed through and avoids
cryptic build failures.
  • Loading branch information
danielbachhuber committed Nov 18, 2018
1 parent a8a025c commit 82e0a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/plugin-circle.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ job-references:
name: "Install Dependencies"
command: |
sudo apt-get update && sudo apt-get install subversion
sudo docker-php-ext-install mysqli
sudo -E docker-php-ext-install mysqli
sudo sh -c "printf '\ndeb http://ftp.us.debian.org/debian sid main\n' >> /etc/apt/sources.list"
sudo apt-get update && sudo apt-get install mysql-client-5.7

Expand Down

0 comments on commit 82e0a13

Please sign in to comment.