{"action":"closed","issue":{"url":"https://api.github.com/repos/heroku/docker-php/issues/4","labels_url":"https://api.github.com/repos/heroku/docker-php/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/heroku/docker-php/issues/4/comments","events_url":"https://api.github.com/repos/heroku/docker-php/issues/4/events","html_url":"https://github.com/heroku/docker-php/issues/4","id":107881643,"number":4,"title":"composer install command breaks on missing extensions","user":{"login":"robinvdvleuten","id":238295,"avatar_url":"https://avatars.githubusercontent.com/u/238295?v=3","gravatar_id":"","url":"https://api.github.com/users/robinvdvleuten","html_url":"https://github.com/robinvdvleuten","followers_url":"https://api.github.com/users/robinvdvleuten/followers","following_url":"https://api.github.com/users/robinvdvleuten/following{/other_user}","gists_url":"https://api.github.com/users/robinvdvleuten/gists{/gist_id}","starred_url":"https://api.github.com/users/robinvdvleuten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinvdvleuten/subscriptions","organizations_url":"https://api.github.com/users/robinvdvleuten/orgs","repos_url":"https://api.github.com/users/robinvdvleuten/repos","events_url":"https://api.github.com/users/robinvdvleuten/events{/privacy}","received_events_url":"https://api.github.com/users/robinvdvleuten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-23T09:32:54Z","updated_at":"2015-10-15T14:29:56Z","closed_at":"2015-10-15T14:29:56Z","body":"I've enabled some third-party extension as mentioned by https://devcenter.heroku.com/articles/php-support#using-optional-extensions. But when I try to build the application through Docker, the following error occurs:\r\n\r\n```bash\r\nBuilding web...\r\nStep 0 : FROM heroku/php\r\n# Executing 6 build triggers\r\nTrigger 0, COPY composer.lock /app/user/\r\nStep 0 : COPY composer.lock /app/user/\r\n ---> Using cache\r\nTrigger 1, COPY composer.json /app/user/\r\nStep 0 : COPY composer.json /app/user/\r\n ---> Using cache\r\nTrigger 2, RUN composer install --no-scripts\r\nStep 0 : RUN composer install --no-scripts\r\n ---> Running in b37f3bf2f5e2\r\nLoading composer repositories with package information\r\nInstalling dependencies (including require-dev) from lock file\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - The requested PHP extension ext-apcu * is missing from your system.\r\n```\r\n\r\nWhy do you run `composer install --no-scripts`? As it is also ran inside the buildpack compile script. And if it is required, can it be run with `composer install --no-scripts ----ignore-platform-reqs`?"}}