{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/php/issues/197","repository_url":"https://api.github.com/repos/docker-library/php","labels_url":"https://api.github.com/repos/docker-library/php/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/php/issues/197/comments","events_url":"https://api.github.com/repos/docker-library/php/issues/197/events","html_url":"https://github.com/docker-library/php/issues/197","id":137354505,"number":197,"title":"Issues with 5.6","user":{"login":"mgan59","id":89339,"avatar_url":"https://avatars.githubusercontent.com/u/89339?v=3","gravatar_id":"","url":"https://api.github.com/users/mgan59","html_url":"https://github.com/mgan59","followers_url":"https://api.github.com/users/mgan59/followers","following_url":"https://api.github.com/users/mgan59/following{/other_user}","gists_url":"https://api.github.com/users/mgan59/gists{/gist_id}","starred_url":"https://api.github.com/users/mgan59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgan59/subscriptions","organizations_url":"https://api.github.com/users/mgan59/orgs","repos_url":"https://api.github.com/users/mgan59/repos","events_url":"https://api.github.com/users/mgan59/events{/privacy}","received_events_url":"https://api.github.com/users/mgan59/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-29T19:57:31Z","updated_at":"2016-03-01T15:10:48Z","closed_at":"2016-02-29T23:17:33Z","body":"When trying to build the image\r\n\r\n`php/5.6$ docker build .`\r\n\r\n```\r\nSending build context to Docker daemon 43.01 kB\r\nStep 1 : FROM debian:jessie\r\n ---> 256adf7015ca\r\nStep 2 : RUN apt-get update && apt-get install -y ca-certificates curl librecode0 libsqlite3-0 libxml2 --no-install-recommends && rm -r /var/lib/apt/lists/*\r\n ---> Running in 56e0bf3cae2b\r\nErr http://security.debian.org jessie/updates InRelease\r\n\r\nErr http://httpredir.debian.org jessie InRelease\r\n\r\nErr http://httpredir.debian.org jessie-updates InRelease\r\n\r\nErr http://security.debian.org jessie/updates Release.gpg\r\n  Could not resolve 'security.debian.org'\r\nErr http://httpredir.debian.org jessie Release.gpg\r\n  Could not resolve 'httpredir.debian.org'\r\nErr http://httpredir.debian.org jessie-updates Release.gpg\r\n  Could not resolve 'httpredir.debian.org'\r\nReading package lists...\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/InRelease\r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease\r\n\r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease\r\n\r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'\r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'httpredir.debian.org'\r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/Release.gpg  Could not resolve 'httpredir.debian.org'\r\n\r\nW: Some index files failed to download. They have been ignored, or old ones used instead.\r\nReading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\nPackage libxml2 is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\n\r\nE: Unable to locate package ca-certificates\r\nE: Unable to locate package curl\r\nE: Unable to locate package librecode0\r\nE: Unable to locate package libsqlite3-0\r\nE: Package 'libxml2' has no installation candidate\r\nThe command '/bin/sh -c apt-get update && apt-get install -y ca-certificates curl librecode0 libsqlite3-0 libxml2 --no-install-recommends && rm -r /var/lib/apt/lists/*' returned a non-zero code: 100\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/docker-library/php/issues/comments/190762030","html_url":"https://github.com/docker-library/php/issues/197#issuecomment-190762030","issue_url":"https://api.github.com/repos/docker-library/php/issues/197","id":190762030,"user":{"login":"mgan59","id":89339,"avatar_url":"https://avatars.githubusercontent.com/u/89339?v=3","gravatar_id":"","url":"https://api.github.com/users/mgan59","html_url":"https://github.com/mgan59","followers_url":"https://api.github.com/users/mgan59/followers","following_url":"https://api.github.com/users/mgan59/following{/other_user}","gists_url":"https://api.github.com/users/mgan59/gists{/gist_id}","starred_url":"https://api.github.com/users/mgan59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgan59/subscriptions","organizations_url":"https://api.github.com/users/mgan59/orgs","repos_url":"https://api.github.com/users/mgan59/repos","events_url":"https://api.github.com/users/mgan59/events{/privacy}","received_events_url":"https://api.github.com/users/mgan59/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T15:10:48Z","updated_at":"2016-03-01T15:10:48Z","body":"@tianon Kept at it.  So in the end, had some confusion around my `docker-compose.yml` in the way I set the build so my changes weren't propagating.  Which solved part of my mystery.  In the end, I learned quite abit about building/tagging images and workflows with docker.  Regardless, I have everything working now using\r\n\r\n```\r\nFROM php:5-fpm\r\nRUN apt-get update && apt-get install -y \\\r\n        php5-mysql \\\r\n        libfreetype6-dev \\\r\n        libjpeg62-turbo-dev \\\r\n        libmcrypt-dev \\\r\n        libpng12-dev \\\r\n    && docker-php-ext-install -j$(nproc) iconv mcrypt \\\r\n    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ \\\r\n    && docker-php-ext-install -j$(nproc) gd \\\r\n    && docker-php-ext-install mysqli \\\r\n    && docker-php-ext-install mysql\r\n```\r\n\r\nThanks for all your help!  :star: "}}