{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/69","labels_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/69/comments","events_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/69/events","html_url":"https://github.com/aspnet/aspnet-docker/issues/69","id":90783729,"number":69,"title":"Would be great with a working DockerFile against dev branch","user":{"login":"Tazer","id":132698,"avatar_url":"https://avatars.githubusercontent.com/u/132698?v=3","gravatar_id":"","url":"https://api.github.com/users/Tazer","html_url":"https://github.com/Tazer","followers_url":"https://api.github.com/users/Tazer/followers","following_url":"https://api.github.com/users/Tazer/following{/other_user}","gists_url":"https://api.github.com/users/Tazer/gists{/gist_id}","starred_url":"https://api.github.com/users/Tazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tazer/subscriptions","organizations_url":"https://api.github.com/users/Tazer/orgs","repos_url":"https://api.github.com/users/Tazer/repos","events_url":"https://api.github.com/users/Tazer/events{/privacy}","received_events_url":"https://api.github.com/users/Tazer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T21:26:42Z","updated_at":"2015-06-25T09:23:40Z","closed_at":"2015-06-25T09:23:40Z","body":"Hello,\r\n\r\nI have been trying to get an DockerFile working against the dev branch (beta6 at the moment).\r\nBut havnt been able to make it work. \r\n\r\nThe problem is that when adding the https://www.myget.org/F/aspnetvnext/\r\n\r\ndnu restore gets problems.\r\n\r\nI have seen the current issues and tried the certmgr \r\n\r\naspnet/Home#197\r\naspnet/Home#89\r\nhttps://itofinity.wordpress.com/2014/06/04/hello-new-k-world-kpm-restore-fail-part-1/\r\nhttp://weblogs.thinktecture.com/cweyer/2014/10/installing-running-aspnet-vnext-alpha-3-on-ubuntu-linux-with-mono-38for-real.html\r\n\r\nAnd also an open issue on dokku:\r\n\r\nhttps://github.com/progrium/buildstep/issues/147\r\n\r\nThis is my current docker file:\r\n\r\n````\r\n\r\nFROM mono:latest\r\n\r\nENV DNX_VERSION 1.0.0-beta6-12114\r\nENV DNX_USER_HOME /opt/dnx\r\nENV DNX_FEED https://www.myget.org/F/aspnetvnext/api/v2\r\n\r\nRUN apt-get -qq update && apt-get -qqy install unzip\r\n\r\nRUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_USER_HOME=$DNX_USER_HOME DNX_BRANCH=v$DNX_VERSION sh\r\nRUN bash -c \"source $DNX_USER_HOME/dnvm/dnvm.sh \\\r\n\t&& dnvm install $DNX_VERSION -a default \\\r\n\t&& dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default\"\r\n\r\n# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)\r\nRUN apt-get -qqy install \\\r\n\tautoconf \\\r\n\tautomake \\\r\n\tbuild-essential \\\r\n\tlibtool\r\nRUN LIBUV_VERSION=1.4.2 \\\r\n\t&& curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \\\r\n\t&& cd /usr/local/src/libuv-$LIBUV_VERSION \\\r\n\t&& sh autogen.sh && ./configure && make && make install \\\r\n\t&& rm -rf /usr/local/src/libuv-$LIBUV_VERSION \\\r\n\t&& ldconfig\r\n\r\nENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin\r\nRUN yes | certmgr -ssl -m https://nugetgallery.blob.core.windows.net  https://nuget.org https://www.myget.org https://www.myget.org/F/aspnetvnext/api/v2 https://go.microsoft.com https://www.myget.org\r\nRUN mozroots --import --machine --sync --quiet\r\n\r\nRUN mkdir -p ~/.config/NuGet/\r\nRUN curl -o ~/.config/NuGet/NuGet.Config -sSL https://gist.githubusercontent.com/Tazer/1ad0e439846ee26ef9a5/raw/12bc6b02b74af55154e456ec232ef3c01ec960e6/Nuget.config\r\n\r\nCOPY . /app\r\nWORKDIR /app\r\nRUN [\"dnu\", \"restore\"]\r\n\r\nEXPOSE 5005\r\nENTRYPOINT [\"dnx\", \".\", \"kestrel\"]\r\n\r\n```\r\n"}}