{"action":"created","issue":{"url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/1","repository_url":"https://api.github.com/repos/pavlov99/docker-gnuplot","labels_url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/1/comments","events_url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/1/events","html_url":"https://github.com/pavlov99/docker-gnuplot/issues/1","id":384917772,"node_id":"MDU6SXNzdWUzODQ5MTc3NzI=","number":1,"title":"Missing fonts","user":{"login":"raupachz","id":4587596,"node_id":"MDQ6VXNlcjQ1ODc1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/4587596?v=4","gravatar_id":"","url":"https://api.github.com/users/raupachz","html_url":"https://github.com/raupachz","followers_url":"https://api.github.com/users/raupachz/followers","following_url":"https://api.github.com/users/raupachz/following{/other_user}","gists_url":"https://api.github.com/users/raupachz/gists{/gist_id}","starred_url":"https://api.github.com/users/raupachz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raupachz/subscriptions","organizations_url":"https://api.github.com/users/raupachz/orgs","repos_url":"https://api.github.com/users/raupachz/repos","events_url":"https://api.github.com/users/raupachz/events{/privacy}","received_events_url":"https://api.github.com/users/raupachz/received_events","type":"User","site_admin":false},"labels":[{"id":528532313,"node_id":"MDU6TGFiZWw1Mjg1MzIzMTM=","url":"https://api.github.com/repos/pavlov99/docker-gnuplot/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"pavlov99","id":590293,"node_id":"MDQ6VXNlcjU5MDI5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/590293?v=4","gravatar_id":"","url":"https://api.github.com/users/pavlov99","html_url":"https://github.com/pavlov99","followers_url":"https://api.github.com/users/pavlov99/followers","following_url":"https://api.github.com/users/pavlov99/following{/other_user}","gists_url":"https://api.github.com/users/pavlov99/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlov99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlov99/subscriptions","organizations_url":"https://api.github.com/users/pavlov99/orgs","repos_url":"https://api.github.com/users/pavlov99/repos","events_url":"https://api.github.com/users/pavlov99/events{/privacy}","received_events_url":"https://api.github.com/users/pavlov99/received_events","type":"User","site_admin":false},"assignees":[{"login":"pavlov99","id":590293,"node_id":"MDQ6VXNlcjU5MDI5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/590293?v=4","gravatar_id":"","url":"https://api.github.com/users/pavlov99","html_url":"https://github.com/pavlov99","followers_url":"https://api.github.com/users/pavlov99/followers","following_url":"https://api.github.com/users/pavlov99/following{/other_user}","gists_url":"https://api.github.com/users/pavlov99/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlov99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlov99/subscriptions","organizations_url":"https://api.github.com/users/pavlov99/orgs","repos_url":"https://api.github.com/users/pavlov99/repos","events_url":"https://api.github.com/users/pavlov99/events{/privacy}","received_events_url":"https://api.github.com/users/pavlov99/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-27T17:58:25Z","updated_at":"2018-11-28T01:02:39Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nthanks for the Dockerfile!\r\n\r\nUnfortunately, in its current state, it is rather limited because fonts are missing.\r\n\r\n```\r\n$ docker pull pavlov99/gnuplot\r\n$ docker run -it --rm pavlov99/gnuplot /bin/sh\r\n/ # fc-list\r\n/ #\r\n```\r\n\r\nFor example lets render some basic plot with a title:\r\n\r\n```\r\n$ docker run -it --rm -v `pwd`:/tmp pavlov99/gnuplot gnuplot\r\ngnuplot> cd \"/tmp\"\r\ngnuplot> set terminal pngcairo\r\ngnuplot> set output \"image.png\"\r\ngnuplot> set title \"Untitled\"\r\ngnuplot> plot sin(x)\r\n```\r\n\r\nThere won't be any text in this image because there are no fonts in your image. \r\n\r\nPretty easy to solve. Just add something like `RUN apk --no-cache add ttf-ubuntu-font-family fontconfig && fc-cache -f` to your Docker file.\r\n\r\nIn know, this repo is two years old, but I find it still useful. Maybe this helps someone else stumbling upon it. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/comments/442278378","html_url":"https://github.com/pavlov99/docker-gnuplot/issues/1#issuecomment-442278378","issue_url":"https://api.github.com/repos/pavlov99/docker-gnuplot/issues/1","id":442278378,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjI3ODM3OA==","user":{"login":"pavlov99","id":590293,"node_id":"MDQ6VXNlcjU5MDI5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/590293?v=4","gravatar_id":"","url":"https://api.github.com/users/pavlov99","html_url":"https://github.com/pavlov99","followers_url":"https://api.github.com/users/pavlov99/followers","following_url":"https://api.github.com/users/pavlov99/following{/other_user}","gists_url":"https://api.github.com/users/pavlov99/gists{/gist_id}","starred_url":"https://api.github.com/users/pavlov99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavlov99/subscriptions","organizations_url":"https://api.github.com/users/pavlov99/orgs","repos_url":"https://api.github.com/users/pavlov99/repos","events_url":"https://api.github.com/users/pavlov99/events{/privacy}","received_events_url":"https://api.github.com/users/pavlov99/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T01:02:39Z","updated_at":"2018-11-28T01:02:39Z","author_association":"OWNER","body":"@raupachz please let me know if that works https://github.com/pavlov99/docker-gnuplot/commit/c2b845f39798d50338491bb36f0c1d9257ee6f10"}}
{"actor":{"display_login":"pavlov99"}}