diff --git a/php/Dockerfile b/php/Dockerfile index 7f2fc107d02..c6f95ec899a 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -20,8 +20,8 @@ ENV {{{.}}} {{/php_mod}} {{#php_ext}} - RUN mkdir -p /usr/src/php/ext/{{{name}}} && \ - curl -fsSL https://pecl.php.net/get/{{{name}}} | tar xvz -C "/usr/src/php/ext/{{{name}}}" --strip 1 + RUN mkdir -p /usr/src/php/ext/{{{extension}}} && \ + curl -fsSL https://pecl.php.net/get/{{{extension}}} | tar xvz -C "/usr/src/php/ext/{{{extension}}}" --strip 1 RUN docker-php-ext-install {{{extension}}} {{/php_ext}}