Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion coreclr-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM ubuntu:14.04.3
MAINTAINER Elton Stoneman <elton@sixeyed.com>

# 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
ENTRYPOINT ["/bin/bash"]
7 changes: 4 additions & 3 deletions coreclr-hello-world/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM sixeyed/coreclr-base
MAINTAINER Elton Stoneman <elton@sixeyed.com>

# 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
ENTRYPOINT ["dnx", "run"]
5 changes: 2 additions & 3 deletions coreclr-hello-world/hello-world/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
}