{"action":"created","issue":{"url":"https://api.github.com/repos/pelson/Obvious-CI/issues/61","repository_url":"https://api.github.com/repos/pelson/Obvious-CI","labels_url":"https://api.github.com/repos/pelson/Obvious-CI/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/pelson/Obvious-CI/issues/61/comments","events_url":"https://api.github.com/repos/pelson/Obvious-CI/issues/61/events","html_url":"https://github.com/pelson/Obvious-CI/pull/61","id":147483540,"number":61,"title":"Use devtoolset-2 for C++11 and other support","user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-11T16:32:14Z","updated_at":"2016-04-27T16:08:51Z","closed_at":"2016-04-27T16:07:34Z","pull_request":{"url":"https://api.github.com/repos/pelson/Obvious-CI/pulls/61","html_url":"https://github.com/pelson/Obvious-CI/pull/61","diff_url":"https://github.com/pelson/Obvious-CI/pull/61.diff","patch_url":"https://github.com/pelson/Obvious-CI/pull/61.patch"},"body":"I have decided to propose this as a PR so that we have a clear idea of the change I am suggesting here.\r\n\r\nAlready this works and builds correctly on my machine and has been tested with staged recipes using this [commit]( https://github.com/conda-forge/staged-recipes/tree/a928665c51d74aec41ac4eec085b2d8222a721a6 ) and found to be working correctly.\r\n\r\nInstead of using the `ENV` Docker command, we have moved towards proper activation of the `conda` environment. This needed primarily as enabling a `devtoolset` relies on using the system python interpreter. There are probably other reasons this is a good idea. The main one is that the activation process requires Python 2 only code to run. We currently use Python 3 for the miniconda install. So, we must activate the devtoolset first and then activate conda. This has been done by adding the entrypoint script below.\r\n\r\nThe entrypoint script simply activates the devtoolset, then conda, and then runs any commands provided by the user. The behavior as seen by the user is unchanged with the exception of the compiler being switched. We can keep this entrypoint script as a separate file or we can move the contents of the file directly into the docker image using `echo` calls within a single `RUN` command.\r\n\r\nEverything else that happens here is quite straightforward. Please ask questions or make comments as needed. Will cross reference this in the compiler issue ( https://github.com/conda-forge/conda-forge.github.io/issues/29 )."},"comment":{"url":"https://api.github.com/repos/pelson/Obvious-CI/issues/comments/215133512","html_url":"https://github.com/pelson/Obvious-CI/pull/61#issuecomment-215133512","issue_url":"https://api.github.com/repos/pelson/Obvious-CI/issues/61","id":215133512,"user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:08:51Z","updated_at":"2016-04-27T16:08:51Z","body":"So, does that plan sound reasonable to you? Do you have changes or errata?"}}