{"action":"created","issue":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1041","repository_url":"https://api.github.com/repos/mailcow/mailcow-dockerized","labels_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1041/comments","events_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1041/events","html_url":"https://github.com/mailcow/mailcow-dockerized/pull/1041","id":297048651,"number":1041,"title":"Fixes update.sh issues for Alpine","user":{"login":"miclnl","id":11257729,"avatar_url":"https://avatars0.githubusercontent.com/u/11257729?v=4","gravatar_id":"","url":"https://api.github.com/users/miclnl","html_url":"https://github.com/miclnl","followers_url":"https://api.github.com/users/miclnl/followers","following_url":"https://api.github.com/users/miclnl/following{/other_user}","gists_url":"https://api.github.com/users/miclnl/gists{/gist_id}","starred_url":"https://api.github.com/users/miclnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miclnl/subscriptions","organizations_url":"https://api.github.com/users/miclnl/orgs","repos_url":"https://api.github.com/users/miclnl/repos","events_url":"https://api.github.com/users/miclnl/events{/privacy}","received_events_url":"https://api.github.com/users/miclnl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-14T10:43:22Z","updated_at":"2018-02-14T13:01:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/pulls/1041","html_url":"https://github.com/mailcow/mailcow-dockerized/pull/1041","diff_url":"https://github.com/mailcow/mailcow-dockerized/pull/1041.diff","patch_url":"https://github.com/mailcow/mailcow-dockerized/pull/1041.patch"},"body":"Alpine linux as a host works, but requires some tweaking on update.sh. But the SHA-checks on update.sh prevent any local changes.\r\n\r\n* pip must be used for upgrading/installing docker-compose; the default upgrade method breaks this\r\n* `cp -n` does not exist in busybox. using `false | cp -i` is a universally available alternative\r\n\r\nFor further info on docker on Alpine see https://wiki.alpinelinux.org/wiki/Docker"},"comment":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/comments/365600303","html_url":"https://github.com/mailcow/mailcow-dockerized/pull/1041#issuecomment-365600303","issue_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1041","id":365600303,"user":{"login":"extremeshok","id":5957328,"avatar_url":"https://avatars2.githubusercontent.com/u/5957328?v=4","gravatar_id":"","url":"https://api.github.com/users/extremeshok","html_url":"https://github.com/extremeshok","followers_url":"https://api.github.com/users/extremeshok/followers","following_url":"https://api.github.com/users/extremeshok/following{/other_user}","gists_url":"https://api.github.com/users/extremeshok/gists{/gist_id}","starred_url":"https://api.github.com/users/extremeshok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extremeshok/subscriptions","organizations_url":"https://api.github.com/users/extremeshok/orgs","repos_url":"https://api.github.com/users/extremeshok/repos","events_url":"https://api.github.com/users/extremeshok/events{/privacy}","received_events_url":"https://api.github.com/users/extremeshok/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T13:01:12Z","updated_at":"2018-02-14T13:01:12Z","author_association":"CONTRIBUTOR","body":"Some errors are not with the script, just the way busybox uses lite versions of the common utilities.\r\n\r\nThese are the actual fixes\r\n```\r\n#add support for cp -n and grep -P\r\napk add --upgrade coreutils\r\napk add --upgrade grep\r\n```\r\n+1 for\r\n```\r\nif [[ ! -z $(which pip) && $(pip list --local | grep -c docker-compose) == 1 ]]; then\r\n  echo \"installed via pip\"\r\nfi\r\n```"}}
{"actor":{"display_login":"extremeshok"}}