From 82e0a13f647ecdaa974fbe5c94570f09ba1f9086 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Sun, 18 Nov 2018 14:41:00 -0800 Subject: [PATCH] Run `docker-php-ext-install` with `sudo -E` in CircleCI Doing so ensures environment variables are passed through and avoids cryptic build failures. --- templates/plugin-circle.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/plugin-circle.mustache b/templates/plugin-circle.mustache index 3ed6a7816..ed2b5748f 100644 --- a/templates/plugin-circle.mustache +++ b/templates/plugin-circle.mustache @@ -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