You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
This was originally asked for over in dotnet/aspnetcore#437 back in April and just realized there is a dedicated repo for DNVM now.
The challenge of making these packages is that DNVM expects to be installed on a per-user basis today which all UNIX/Linux package managers don't support without hackery in the package. I think it should be considered that DNVM install runtimes at a system level and then a choice of active/default/{alias} be configured on a per-user basis, for moth Windows and UNIX/Linux alike.
I started working on this already and came up with a Docker image that builds the .rpm and .deb packages using the current version of the DNVM script as of this posting, and manages the runtimes and active/default/{alias} at system level.
Both packages install DNVM at a system level into /usr/local/bin/dnx/ and it creates a shell script into /etc/profiles.d/ that sets up $PATH to know where DNVM is located (look at the dnx.sh file in the repo).
I'm using FPM to do the magic which already supports RPM, DEB, PKG (Solaris), and OSXPKG (Mac OS X). The PKGNG format for FreeBSD will be supported in the future. The OSXPKG format requires a Mac however - a typical Apple development restriction.
The text was updated successfully, but these errors were encountered:
This was originally asked for over in dotnet/aspnetcore#437 back in April and just realized there is a dedicated repo for DNVM now.
The challenge of making these packages is that DNVM expects to be installed on a per-user basis today which all UNIX/Linux package managers don't support without hackery in the package. I think it should be considered that DNVM install runtimes at a system level and then a choice of active/default/{alias} be configured on a per-user basis, for moth Windows and UNIX/Linux alike.
I started working on this already and came up with a Docker image that builds the .rpm and .deb packages using the current version of the DNVM script as of this posting, and manages the runtimes and active/default/{alias} at system level.
https://github.com/wholroyd/dnvm
Both packages install DNVM at a system level into
/usr/local/bin/dnx/
and it creates a shell script into/etc/profiles.d/
that sets up $PATH to know where DNVM is located (look at thednx.sh
file in the repo).Contents of the RPM...
I'm using FPM to do the magic which already supports RPM, DEB, PKG (Solaris), and OSXPKG (Mac OS X). The PKGNG format for FreeBSD will be supported in the future. The OSXPKG format requires a Mac however - a typical Apple development restriction.
The text was updated successfully, but these errors were encountered: