diff --git a/coreclr-base/Dockerfile b/coreclr-base/Dockerfile index 238ea85..66538ff 100644 --- a/coreclr-base/Dockerfile +++ b/coreclr-base/Dockerfile @@ -1,8 +1,12 @@ FROM ubuntu:14.04.3 MAINTAINER Elton Stoneman +# Install curl package needed for System.Net.http +ENV DEBIAN_FRONTEND noninteractive +RUN apt-get -y install libcurl3-gnutls + # setup .NET core - installs latest DNX and sets it to default COPY install-coreclr.sh /usr/local/install-coreclr.sh RUN /usr/local/install-coreclr.sh -CMD /bin/bash \ No newline at end of file +ENTRYPOINT ["/bin/bash"] diff --git a/coreclr-hello-world/Dockerfile b/coreclr-hello-world/Dockerfile index f027bce..c68285d 100644 --- a/coreclr-hello-world/Dockerfile +++ b/coreclr-hello-world/Dockerfile @@ -2,10 +2,11 @@ FROM sixeyed/coreclr-base MAINTAINER Elton Stoneman # ensure the expected DNX is available -ENV PATH /root/.dnx/runtimes/dnx-coreclr-linux-x64.1.0.0-beta8-15618/bin:$PATH +ENV PATH /root/.dnx/runtimes/dnx-coreclr-linux-x64.1.0.0-rc2-16258/bin:$PATH # deploy the Hello World app COPY /hello-world /opt/hello-world -RUN cd /opt/hello-world && dnu restore +WORKDIR /opt/hello-world +RUN dnu restore -CMD cd /opt/hello-world && dnx run \ No newline at end of file +ENTRYPOINT ["dnx", "run"] diff --git a/coreclr-hello-world/hello-world/project.json b/coreclr-hello-world/hello-world/project.json index 1679cfd..5c11d5d 100644 --- a/coreclr-hello-world/hello-world/project.json +++ b/coreclr-hello-world/hello-world/project.json @@ -9,9 +9,8 @@ "dnx451": { }, "dnxcore50": { "dependencies": { - "System.Console": "4.0.0-beta-23220", - "WindowsAzure.Storage" : "5.0.3-preview" + "System.Console": "4.0.0-beta-23220" } } } -} \ No newline at end of file +}