Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Commit cadbbb5

Browse files
committed
Merge pull request #40 from vlesierse/dnx-rename
Renamed the nightly image to DNX
2 parents 156b418 + 2ab5016 commit cadbbb5

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

1.0.0-beta2/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,18 @@ Please [read this article][webdev-article] on .NET Web Development and Tools Blo
1919

2020
This image provides the following environment variables:
2121

22-
* `KRE_USER_HOME`: path to KRE installation (e.g. /opt/kre)
22+
* `KRE_USER_HOME`: path to KRE installation (e.g. /opt/kre) (except the `nightly` image)
2323
* `KRE_VERSION`: version of KRE (K Runtime) installed (except the `nightly` image)
2424

2525
In addition to these, `PATH` is set to include the `k`/`kpm` executables.
2626

27+
The `nightly` image provides the following environment variables:
28+
29+
* `DNX_USER_HOME`: path to DNX installation (e.g. /opt/dnx)
30+
* `DNX_FEED`: url to the DNX nightly feed (e.g. https://www.myget.org/F/aspnetvnext/api/v2)
31+
32+
In addition to these, `PATH` is set to include the `dnx`/`k`/`kpm` executables.
33+
2734
## Build Status
2835

2936
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)

nightly/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM mono:3.12
22

3-
ENV KRE_FEED https://www.myget.org/F/aspnetvnext/api/v2
4-
ENV KVM_USER_HOME /opt/k
3+
ENV DNX_FEED https://www.myget.org/F/aspnetvnext/api/v2
4+
ENV DNX_USER_HOME /opt/dnx
55

66
RUN apt-get -qq update && apt-get -qqy install unzip
77

8-
ONBUILD RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/release/kvminstall.sh | KRE_USER_HOME=$KVM_USER_HOME KVM_BRANCH=dev sh
9-
ONBUILD RUN bash -c "source $KVM_USER_HOME/kvm/kvm.sh \
10-
&& kvm install latest -a default \
11-
&& kvm alias default | xargs -i ln -s $KVM_USER_HOME/runtimes/{} $KVM_USER_HOME/runtimes/default"
8+
ONBUILD RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh
9+
ONBUILD RUN bash -c "source $DNX_USER_HOME/dnvm/dnvm.sh \
10+
&& dnvm install latest -a default \
11+
&& dnvm alias default | xargs -i ln -s $DNX_USER_HOME/runtimes/{} $DNX_USER_HOME/runtimes/default"
1212

1313
# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)
1414
RUN apt-get -qqy install \
@@ -26,4 +26,4 @@ RUN LIBUV_VERSION=1.0.0-rc2 \
2626
COPY NuGet.Config /tmp/
2727
RUN mkdir -p $HOME/.config/NuGet/ && mv /tmp/NuGet.Config $HOME/.config/NuGet/
2828

29-
ENV PATH $PATH:$KVM_USER_HOME/runtimes/default/bin
29+
ENV PATH $PATH:$DNX_USER_HOME/runtimes/default/bin

0 commit comments

Comments
 (0)