{"action":"created","issue":{"url":"https://api.github.com/repos/lihaoyi/mill/issues/186","repository_url":"https://api.github.com/repos/lihaoyi/mill","labels_url":"https://api.github.com/repos/lihaoyi/mill/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/lihaoyi/mill/issues/186/comments","events_url":"https://api.github.com/repos/lihaoyi/mill/issues/186/events","html_url":"https://github.com/lihaoyi/mill/issues/186","id":301714606,"number":186,"title":"Mill Docker image","user":{"login":"nightscape","id":35170,"avatar_url":"https://avatars3.githubusercontent.com/u/35170?v=4","gravatar_id":"","url":"https://api.github.com/users/nightscape","html_url":"https://github.com/nightscape","followers_url":"https://api.github.com/users/nightscape/followers","following_url":"https://api.github.com/users/nightscape/following{/other_user}","gists_url":"https://api.github.com/users/nightscape/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscape/subscriptions","organizations_url":"https://api.github.com/users/nightscape/orgs","repos_url":"https://api.github.com/users/nightscape/repos","events_url":"https://api.github.com/users/nightscape/events{/privacy}","received_events_url":"https://api.github.com/users/nightscape/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-02T10:07:00Z","updated_at":"2018-03-03T16:36:13Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\nI've created a docker base image for mill so that it's easier to start a dockerized project with it:\r\nhttps://hub.docker.com/r/nightscape/scala-mill/\r\nI would happily contribute this as a PR to this repo.\r\nIMO it makes sense to have an official Docker build to reduce fragmentation.\r\n\r\nTwo additional questions:\r\nI tried to run Mill once during the Docker build so that it precompiles all the predefs etc.\r\nUnfortunately that [failed on Docker Hub](https://hub.docker.com/r/nightscape/scala-mill/builds/bv5v6hgxxnup92but4ouv4e/) (but not locally) because of a\r\n```\r\nException in thread \"main\" java.io.IOException: com.sun.jna.LastErrorException: [2] No such file or directory\r\n\tat org.scalasbt.ipcsocket.UnixDomainSocket.<init>(UnixDomainSocket.java:62)\r\n\tat mill.clientserver.Client.$anonfun$run$1(Client.scala:43)\r\n\tat mill.clientserver.ClientServer$.retry(ClientServer.scala:40)\r\n\tat mill.clientserver.Client.run(Client.scala:43)\r\n\tat mill.ClientMain$.$anonfun$main$1(Main.scala:60)\r\n\tat mill.ClientMain$.$anonfun$main$1$adapted(Main.scala:51)\r\n\tat mill.clientserver.Client$.WithLock(Client.scala:20)\r\n\tat mill.ClientMain$.main(Main.scala:51)\r\n\tat mill.ClientMain.main(Main.scala)\r\n```\r\nDo you have any idea how one could work around that?\r\n\r\nIt also seems that Mill still sometimes recompiles the predef files although it shouldn't be necessary.\r\nI saw https://github.com/lihaoyi/Ammonite/issues/542 but that should be solved, right?\r\n"},"comment":{"url":"https://api.github.com/repos/lihaoyi/mill/issues/comments/370161034","html_url":"https://github.com/lihaoyi/mill/issues/186#issuecomment-370161034","issue_url":"https://api.github.com/repos/lihaoyi/mill/issues/186","id":370161034,"user":{"login":"nightscape","id":35170,"avatar_url":"https://avatars3.githubusercontent.com/u/35170?v=4","gravatar_id":"","url":"https://api.github.com/users/nightscape","html_url":"https://github.com/nightscape","followers_url":"https://api.github.com/users/nightscape/followers","following_url":"https://api.github.com/users/nightscape/following{/other_user}","gists_url":"https://api.github.com/users/nightscape/gists{/gist_id}","starred_url":"https://api.github.com/users/nightscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightscape/subscriptions","organizations_url":"https://api.github.com/users/nightscape/orgs","repos_url":"https://api.github.com/users/nightscape/repos","events_url":"https://api.github.com/users/nightscape/events{/privacy}","received_events_url":"https://api.github.com/users/nightscape/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T16:36:13Z","updated_at":"2018-03-03T16:36:13Z","author_association":"NONE","body":"The `-i` flag helped. Any opinions on creating a PR and having an official `lihaoyi/scala-mill` Docker base image?\r\nAlso, is it a known problem about stuff recompiling although it shouldn't be necessary?\r\nI only found closed issues in the Ammonite repo."}}
{"actor":{"display_login":"nightscape"}}