Skip to content

Commit

Permalink
fix: use updated method to get extension installer script
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Jul 26, 2021
1 parent 29b30cd commit 562eda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function createBuildContext(

$context->from($this->baseImage);
$context->run('apk add --update --no-cache jq');
$context->addUrl("/usr/local/bin/", "https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions");
$context->addUrl("/usr/local/bin/", "https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions");
$context->run("chmod +x /usr/local/bin/install-php-extensions");
$context->run('install-php-extensions ' . implode(' ', $this->extensions));
$context->run('mkdir /runtime && chown nobody:nobody /runtime');
Expand Down

0 comments on commit 562eda9

Please sign in to comment.