{"action":"created","issue":{"url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/14","labels_url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/14/comments","events_url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/14/events","html_url":"https://github.com/sdt/docker-raspberry-pi-cross-compiler/issues/14","id":77335383,"number":14,"title":"Adding packages","user":{"login":"KodeZ","id":3818789,"avatar_url":"https://avatars.githubusercontent.com/u/3818789?v=3","gravatar_id":"","url":"https://api.github.com/users/KodeZ","html_url":"https://github.com/KodeZ","followers_url":"https://api.github.com/users/KodeZ/followers","following_url":"https://api.github.com/users/KodeZ/following{/other_user}","gists_url":"https://api.github.com/users/KodeZ/gists{/gist_id}","starred_url":"https://api.github.com/users/KodeZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KodeZ/subscriptions","organizations_url":"https://api.github.com/users/KodeZ/orgs","repos_url":"https://api.github.com/users/KodeZ/repos","events_url":"https://api.github.com/users/KodeZ/events{/privacy}","received_events_url":"https://api.github.com/users/KodeZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T15:47:30Z","updated_at":"2015-05-18T23:52:01Z","closed_at":null,"body":"Hi\r\n\r\nMy comment on the docker hub was answered by creating this:\r\nhttps://github.com/sdt/docker-raspberry-pi-cross-compiler/tree/master/examples/extra-packages\r\n\r\nWhich was nice, but I already had that part figured out. What I was really wondering was how I can add, say, sqlite3, to the raspian libraries to link to. My situation is this: I have a piece of software that needs sqlite3. It comes already packed in rPi flavour, so I should not need to build it first, then build my app. So while adding an application to the docker image is useful, it is not really what I need. I need to add the application, or rather, libraries I need, compiled for the rPi architecture. Did that make sense? I am not a native English speaker, so I tend to not explain very well.\r\n\r\nOtherwise an awsome image, keep it up!"},"comment":{"url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/comments/103271307","html_url":"https://github.com/sdt/docker-raspberry-pi-cross-compiler/issues/14#issuecomment-103271307","issue_url":"https://api.github.com/repos/sdt/docker-raspberry-pi-cross-compiler/issues/14","id":103271307,"user":{"login":"sdt","id":615293,"avatar_url":"https://avatars.githubusercontent.com/u/615293?v=3","gravatar_id":"","url":"https://api.github.com/users/sdt","html_url":"https://github.com/sdt","followers_url":"https://api.github.com/users/sdt/followers","following_url":"https://api.github.com/users/sdt/following{/other_user}","gists_url":"https://api.github.com/users/sdt/gists{/gist_id}","starred_url":"https://api.github.com/users/sdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdt/subscriptions","organizations_url":"https://api.github.com/users/sdt/orgs","repos_url":"https://api.github.com/users/sdt/repos","events_url":"https://api.github.com/users/sdt/events{/privacy}","received_events_url":"https://api.github.com/users/sdt/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T23:52:01Z","updated_at":"2015-05-18T23:52:01Z","body":"Hi @KodeZ - thanks for the kind words.\r\n\r\nI like your idea. It would be really nice to be able to choose a bunch of libXXX-dev packages from raspbian and have them available with rpxc. Cross-compiling them by hand can be pretty tricky and time-consuming.\r\n\r\nI'm not entirely sure if this is directly supported by the Debian infrastructure, but I think this should be possible. This page looks like what we need: https://wiki.debian.org/Multiarch.\r\n\r\nI've been playing around with this in a [new multiarch branch](../tree/multiarch). It's not quite there yet, but after a few false starts I think I'm on the right track. I think I need to use debootstrap and chroot to install the raspbian packages in to where the cross-compiler toolchain expects them.\r\n\r\nI'll have another look at this tonight and let you know how it goes.\r\n\r\n"}}