{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/13","labels_url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/13/comments","events_url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/13/events","html_url":"https://github.com/asciidoctor/docker-asciidoctor/issues/13","id":82861755,"number":13,"title":"Use Alpine Docker image","user":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars.githubusercontent.com/u/1517153?v=3","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-05-30T17:02:03Z","updated_at":"2015-07-10T07:41:28Z","closed_at":null,"body":"I have seen that currently you are using fedora docker image. This is a huge image which maybe the 90% of the size is of unused things. I recommend use Alpine image http://gliderlabs.viewdocs.io/docker-alpine In terms of Dockerfile it requires more instructions, but the image only uses 5Mb, which I think that for an Asciidoctor image (which you want it to render documents), it is the perfect one."},"comment":{"url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/comments/120269897","html_url":"https://github.com/asciidoctor/docker-asciidoctor/issues/13#issuecomment-120269897","issue_url":"https://api.github.com/repos/asciidoctor/docker-asciidoctor/issues/13","id":120269897,"user":{"login":"pepijnve","id":225326,"avatar_url":"https://avatars.githubusercontent.com/u/225326?v=3","gravatar_id":"","url":"https://api.github.com/users/pepijnve","html_url":"https://github.com/pepijnve","followers_url":"https://api.github.com/users/pepijnve/followers","following_url":"https://api.github.com/users/pepijnve/following{/other_user}","gists_url":"https://api.github.com/users/pepijnve/gists{/gist_id}","starred_url":"https://api.github.com/users/pepijnve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepijnve/subscriptions","organizations_url":"https://api.github.com/users/pepijnve/orgs","repos_url":"https://api.github.com/users/pepijnve/repos","events_url":"https://api.github.com/users/pepijnve/events{/privacy}","received_events_url":"https://api.github.com/users/pepijnve/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T07:41:28Z","updated_at":"2015-07-10T07:41:28Z","body":"The process is segfaulting at https://github.com/asciidoctor/asciidoctor/blob/v1.5.2/lib/asciidoctor/substitutors.rb#L235. The only code there are calls to String#include? passing in non interpolated strings. Bizarre that that would segfault.\r\n\r\nThe only way I know of to debug this is to get a build of the ruby vm with debugging symbols, attach gdb and see where/why the segfault occurs in the native code. How is the ruby vm installed in the image? Is it the Alpine ruby package or was it installed via rvm or rbenv?"}}