{"action":"created","issue":{"url":"https://api.github.com/repos/armbian/build/issues/934","repository_url":"https://api.github.com/repos/armbian/build","labels_url":"https://api.github.com/repos/armbian/build/issues/934/labels{/name}","comments_url":"https://api.github.com/repos/armbian/build/issues/934/comments","events_url":"https://api.github.com/repos/armbian/build/issues/934/events","html_url":"https://github.com/armbian/build/pull/934","id":315663934,"number":934,"title":"Dockerfile: Create cache directory","user":{"login":"rfrht","id":3044503,"avatar_url":"https://avatars3.githubusercontent.com/u/3044503?v=4","gravatar_id":"","url":"https://api.github.com/users/rfrht","html_url":"https://github.com/rfrht","followers_url":"https://api.github.com/users/rfrht/followers","following_url":"https://api.github.com/users/rfrht/following{/other_user}","gists_url":"https://api.github.com/users/rfrht/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrht/subscriptions","organizations_url":"https://api.github.com/users/rfrht/orgs","repos_url":"https://api.github.com/users/rfrht/repos","events_url":"https://api.github.com/users/rfrht/events{/privacy}","received_events_url":"https://api.github.com/users/rfrht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-18T22:28:41Z","updated_at":"2018-04-19T05:13:46Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/armbian/build/pulls/934","html_url":"https://github.com/armbian/build/pull/934","diff_url":"https://github.com/armbian/build/pull/934.diff","patch_url":"https://github.com/armbian/build/pull/934.patch"},"body":"@igorpecovnik @zador-blood-stained,\r\n\r\nA Docker build in RHEL / CentOS typically takes more than the default 20\r\nGB that is provisioned in the Docker container. This commit aims to\r\ncreate beforehand /root/armbian/cache, so this directory can be\r\nbind-mounted with some other host filesystem with enough space.\r\n\r\nPlease consider moving it to Master ASAP, as it is very important to Docker builds.\r\n\r\nSample use case:\r\n\r\n$ docker run -v /mnt:/root/armbian/cache armbian_dev\r\n\r\nSigned-off-by: Rodrigo Freire <rbs@brasilia.br>"},"comment":{"url":"https://api.github.com/repos/armbian/build/issues/comments/382612643","html_url":"https://github.com/armbian/build/pull/934#issuecomment-382612643","issue_url":"https://api.github.com/repos/armbian/build/issues/934","id":382612643,"user":{"login":"zador-blood-stained","id":14262690,"avatar_url":"https://avatars1.githubusercontent.com/u/14262690?v=4","gravatar_id":"","url":"https://api.github.com/users/zador-blood-stained","html_url":"https://github.com/zador-blood-stained","followers_url":"https://api.github.com/users/zador-blood-stained/followers","following_url":"https://api.github.com/users/zador-blood-stained/following{/other_user}","gists_url":"https://api.github.com/users/zador-blood-stained/gists{/gist_id}","starred_url":"https://api.github.com/users/zador-blood-stained/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zador-blood-stained/subscriptions","organizations_url":"https://api.github.com/users/zador-blood-stained/orgs","repos_url":"https://api.github.com/users/zador-blood-stained/repos","events_url":"https://api.github.com/users/zador-blood-stained/events{/privacy}","received_events_url":"https://api.github.com/users/zador-blood-stained/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T05:13:46Z","updated_at":"2018-04-19T05:13:46Z","author_association":"OWNER","body":"```\r\n./compile.sh docker\r\n```\r\ncreates and binds a named volume to `/root/armbian/cache` already. This volume can be moved using standard Docker commands for volume manipulations.\r\n\r\nThis PR will have to be tested against the `./compile.sh docker` procedure - this is the only supported way for using Docker and we don't want to break it by fixing manual building procedures."}}
{"actor":{"display_login":"zador-blood-stained"}}