From 7d30af368dd0d88a53255df0eb6d579eb0c0d26d Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 30 Apr 2015 11:52:11 -0700 Subject: [PATCH 1/5] Add Dockerfiles for CoreCLR-1.0.0-beta5-11624 and PartsUnlimited Demo App. --- coreclr-1.0.0-beta5-11624/Dockerfile | 22 +++++++++++++++++++++ coreclr-1.0.0-beta5-11624/README.md | 29 ++++++++++++++++++++++++++++ coreclr-demo/Dockerfile | 8 ++++++++ coreclr-demo/README.md | 19 ++++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 coreclr-1.0.0-beta5-11624/Dockerfile create mode 100644 coreclr-1.0.0-beta5-11624/README.md create mode 100644 coreclr-demo/Dockerfile create mode 100644 coreclr-demo/README.md diff --git a/coreclr-1.0.0-beta5-11624/Dockerfile b/coreclr-1.0.0-beta5-11624/Dockerfile new file mode 100644 index 00000000..47beb8e3 --- /dev/null +++ b/coreclr-1.0.0-beta5-11624/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:14.04 + +# Install aspnet 1.0.0-beta5 +ENV DNX_FEED https://www.myget.org/F/aspnetvnext/api/v2 + +RUN apt-get update -qq \ + && apt-get install -qqy libunwind8 libssl-dev curl unzip libtool automake build-essential + +# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old) +RUN LIBUV_VERSION=1.4.2 \ + && curl -sSL https://github.com/libuv/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \ + && cd /usr/local/src/libuv-$LIBUV_VERSION \ + && sh autogen.sh && ./configure && make && make install \ + && rm -rf /usr/local/src/libuv-$LIBUV_VERSION \ + && ldconfig + +RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh \ + && bash -c "source $HOME/.dnx/dnvm/dnvm.sh \ + && dnvm install 1.0.0-beta5-11624 -r coreclr -arch x64 -a default \ + && ln -s $HOME/.dnx/runtimes/dnx-coreclr-linux-x64.1.0.0-beta5-11624 $HOME/.dnx/runtimes/default" + +ENV PATH $PATH:/root/.dnx/runtimes/default/bin diff --git a/coreclr-1.0.0-beta5-11624/README.md b/coreclr-1.0.0-beta5-11624/README.md new file mode 100644 index 00000000..461bf12a --- /dev/null +++ b/coreclr-1.0.0-beta5-11624/README.md @@ -0,0 +1,29 @@ +![](https://avatars3.githubusercontent.com/u/6476660?v=3&s=200) + +ASP.NET 5 Preview Docker Image +==================== + +This repository contains `Dockerfile` definitions for [ASP.NET 5][home] Docker images. + +This project is part of ASP.NET 5. You can find samples, documentation, and getting started instructions for ASP.NET 5 at the [Home][home] repo. + +## Supported tags + +* [`1.0.0-beta3`, `latest` _(1.0.0-beta3/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta3/Dockerfile) +* [`1.0.0-beta2`, _(1.0.0-beta2/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta2/Dockerfile) +* [`1.0.0-beta1` _(1.0.0-beta1/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta1/Dockerfile) +* [`nightly` _(nightly/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/nightly/Dockerfile) +* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile) + +## How to use this image + +Please [read this article][webdev-article] on .NET Web Development and Tools Blog to learn more about using this image. + +In addition to these, `PATH` is set to include the `dnx`/`dnu` executables. + +## Build Status + +Status for image tags built from `master`: [![Build Status of Docker Image on Circle CI](https://circleci.com/gh/aspnet/aspnet-docker/tree/master.svg?style=svg)](https://circleci.com/gh/aspnet/aspnet-docker/tree/master) + +[home]: https://github.com/aspnet/home +[webdev-article]: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx diff --git a/coreclr-demo/Dockerfile b/coreclr-demo/Dockerfile new file mode 100644 index 00000000..87e4100d --- /dev/null +++ b/coreclr-demo/Dockerfile @@ -0,0 +1,8 @@ +FROM coreclr-1.0.0-beta5-11624:latest + +EXPOSE 5004 +# Download the PartsUnlimited demo application +RUN curl -sSL https://dotnet2015.blob.core.windows.net/binaries/PartsUnlimited-demo-app-linux.tar.gz | tar zxfv - -C /opt --exclude=.dnx* + +# Uncomment the next line to run the PartsUnlimited app +#CMD ["/bin/bash","/opt/demo/Kestrel"] diff --git a/coreclr-demo/README.md b/coreclr-demo/README.md new file mode 100644 index 00000000..540d0c62 --- /dev/null +++ b/coreclr-demo/README.md @@ -0,0 +1,19 @@ +![](https://avatars3.githubusercontent.com/u/6476660?v=3&s=200) + +PartsUnlimited Demo App Linux Image +=================================== + +This repository contains `Dockerfile` definitions for [PartsUnlimited](https://github.com/Microsoft/PartsUnlimited) Demo on a Linux Docker image. + +## How to use this image + +This image is basically the base image +[`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile). +with the PartsUnlimited demo app downloaded to `/opt/demo`. Type `/opt/demo/Kestrel` to run the website. + +## Build Status + +Status for image tags built from `master`: [![Build Status of Docker Image on Circle CI](https://circleci.com/gh/aspnet/aspnet-docker/tree/master.svg?style=svg)](https://circleci.com/gh/aspnet/aspnet-docker/tree/master) + +[home]: https://github.com/aspnet/home +[webdev-article]: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx From a81fa12a2d4eea2c6ac8562ad7e6f6d3765e2b71 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 30 Apr 2015 12:25:21 -0700 Subject: [PATCH 2/5] Remove README.md and the demo Dockerfile. --- coreclr-1.0.0-beta5-11624/README.md | 29 ----------------------------- coreclr-demo/Dockerfile | 8 -------- coreclr-demo/README.md | 19 ------------------- 3 files changed, 56 deletions(-) delete mode 100644 coreclr-1.0.0-beta5-11624/README.md delete mode 100644 coreclr-demo/Dockerfile delete mode 100644 coreclr-demo/README.md diff --git a/coreclr-1.0.0-beta5-11624/README.md b/coreclr-1.0.0-beta5-11624/README.md deleted file mode 100644 index 461bf12a..00000000 --- a/coreclr-1.0.0-beta5-11624/README.md +++ /dev/null @@ -1,29 +0,0 @@ -![](https://avatars3.githubusercontent.com/u/6476660?v=3&s=200) - -ASP.NET 5 Preview Docker Image -==================== - -This repository contains `Dockerfile` definitions for [ASP.NET 5][home] Docker images. - -This project is part of ASP.NET 5. You can find samples, documentation, and getting started instructions for ASP.NET 5 at the [Home][home] repo. - -## Supported tags - -* [`1.0.0-beta3`, `latest` _(1.0.0-beta3/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta3/Dockerfile) -* [`1.0.0-beta2`, _(1.0.0-beta2/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta2/Dockerfile) -* [`1.0.0-beta1` _(1.0.0-beta1/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta1/Dockerfile) -* [`nightly` _(nightly/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/nightly/Dockerfile) -* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile) - -## How to use this image - -Please [read this article][webdev-article] on .NET Web Development and Tools Blog to learn more about using this image. - -In addition to these, `PATH` is set to include the `dnx`/`dnu` executables. - -## Build Status - -Status for image tags built from `master`: [![Build Status of Docker Image on Circle CI](https://circleci.com/gh/aspnet/aspnet-docker/tree/master.svg?style=svg)](https://circleci.com/gh/aspnet/aspnet-docker/tree/master) - -[home]: https://github.com/aspnet/home -[webdev-article]: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx diff --git a/coreclr-demo/Dockerfile b/coreclr-demo/Dockerfile deleted file mode 100644 index 87e4100d..00000000 --- a/coreclr-demo/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM coreclr-1.0.0-beta5-11624:latest - -EXPOSE 5004 -# Download the PartsUnlimited demo application -RUN curl -sSL https://dotnet2015.blob.core.windows.net/binaries/PartsUnlimited-demo-app-linux.tar.gz | tar zxfv - -C /opt --exclude=.dnx* - -# Uncomment the next line to run the PartsUnlimited app -#CMD ["/bin/bash","/opt/demo/Kestrel"] diff --git a/coreclr-demo/README.md b/coreclr-demo/README.md deleted file mode 100644 index 540d0c62..00000000 --- a/coreclr-demo/README.md +++ /dev/null @@ -1,19 +0,0 @@ -![](https://avatars3.githubusercontent.com/u/6476660?v=3&s=200) - -PartsUnlimited Demo App Linux Image -=================================== - -This repository contains `Dockerfile` definitions for [PartsUnlimited](https://github.com/Microsoft/PartsUnlimited) Demo on a Linux Docker image. - -## How to use this image - -This image is basically the base image -[`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile). -with the PartsUnlimited demo app downloaded to `/opt/demo`. Type `/opt/demo/Kestrel` to run the website. - -## Build Status - -Status for image tags built from `master`: [![Build Status of Docker Image on Circle CI](https://circleci.com/gh/aspnet/aspnet-docker/tree/master.svg?style=svg)](https://circleci.com/gh/aspnet/aspnet-docker/tree/master) - -[home]: https://github.com/aspnet/home -[webdev-article]: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx From ba294e4c91faf992878e0f379082f2b0a0333bea Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 30 Apr 2015 12:33:31 -0700 Subject: [PATCH 3/5] Remove inaccurate comment. --- coreclr-1.0.0-beta5-11624/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/coreclr-1.0.0-beta5-11624/Dockerfile b/coreclr-1.0.0-beta5-11624/Dockerfile index 47beb8e3..55d213d1 100644 --- a/coreclr-1.0.0-beta5-11624/Dockerfile +++ b/coreclr-1.0.0-beta5-11624/Dockerfile @@ -1,6 +1,5 @@ FROM ubuntu:14.04 -# Install aspnet 1.0.0-beta5 ENV DNX_FEED https://www.myget.org/F/aspnetvnext/api/v2 RUN apt-get update -qq \ From f74ff19559dd2098c8d6f3dc9250d1263413e7bc Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 30 Apr 2015 12:54:41 -0700 Subject: [PATCH 4/5] Add coreclr-1.0.0-beta5-11624 to README.md. --- 1.0.0-beta3/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/1.0.0-beta3/README.md b/1.0.0-beta3/README.md index 82100ab4..cd2e8b55 100644 --- a/1.0.0-beta3/README.md +++ b/1.0.0-beta3/README.md @@ -13,6 +13,7 @@ This project is part of ASP.NET 5. You can find samples, documentation, and gett * [`1.0.0-beta2`, _(1.0.0-beta2/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta2/Dockerfile) * [`1.0.0-beta1` _(1.0.0-beta1/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta1/Dockerfile) * [`nightly` _(nightly/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/nightly/Dockerfile) ++* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile) ## How to use this image From a02c2ec782f06981d47fc1ca1e52260fabdadc18 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Thu, 30 Apr 2015 13:10:11 -0700 Subject: [PATCH 5/5] Remove the extra '+'. --- 1.0.0-beta3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.0.0-beta3/README.md b/1.0.0-beta3/README.md index cd2e8b55..61dffe93 100644 --- a/1.0.0-beta3/README.md +++ b/1.0.0-beta3/README.md @@ -13,7 +13,7 @@ This project is part of ASP.NET 5. You can find samples, documentation, and gett * [`1.0.0-beta2`, _(1.0.0-beta2/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta2/Dockerfile) * [`1.0.0-beta1` _(1.0.0-beta1/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/1.0.0-beta1/Dockerfile) * [`nightly` _(nightly/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/nightly/Dockerfile) -+* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile) +* [`coreclr-1.0.0-beta5-11624` _(coreclr-1.0.0-beta5-11624/Dockerfile)_](https://github.com/aspnet/aspnet-docker/blob/master/coreclr-1.0.0-beta5-11624/Dockerfile) ## How to use this image