Coder Social home page Coder Social logo

phil-harmoniq / netpkg-tool Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 3.0 3.8 MB

Bundle .NET Core applications into convenient Linux binaries.

License: MIT License

Shell 18.50% C# 81.50%
linux appimage csharp dotnet dotnet-core dotnet-standard dotnet-cli appdir fdd scd

netpkg-tool's People

Contributors

phil-harmoniq avatar philippgille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

netpkg-tool's Issues

Name "AppImageKit"

Hi, thanks for this interesting project, looks very promising. Please be aware that the name is "AppImageKit" for the project and appimagetool for one of the tools contained therein. Currently you write "AppImageToolkit" in the README.md and on the GitHub Releases page; such a thing does not exist.

Keep up the good work; looking forward to a "hello world" example and eventually to an example that shows how to bundle MonoDevelop as an AppImage.

Create a Docker image for netpkg-tool

Some people might want to use the tool, but don't want to install all the requirements (.NET Core SDK, FUSE for appimagetool). Docker containers are perfect for that - they contain all dependencies and after usage they can be thrown away.

Usage would be something like this (on a machine with only git and Docker installed):

  1. git clone https://github.com/phil-harmoniq/aspnet-src
  2. docker run --rm -v ${PWD}/aspnet-src:/root/src -v ${PWD}/aspnet-out:/root/out phil-harmoniq/netpkg-tool netpkg-tool /root/src /root/out -n aspnet-pkg
  3. ./aspnet-out/aspnet-pkg

The Docker image should probably be based on the official microsoft/dotnet Docker image (tag 2.0-sdk), but normal appimagetool usage depends on FUSE, which doesn't work in Docker containers, see this AppImage wiki page and the AppImage wiki page I wrote regarding packaging .NET Core apps. So the following is probably required:

  1. netpkg-tool needs to check if it's inside a container. If not: use appimagetool as is, otherwise unpack it and use the binary inside its AppDir
  2. libglib2.0-0 needs to be installed in the Docker image so unpacking the appimagetool works

I've done something similar for philippgille/hello-netcoreapp, so I know how to do this and I would like to create a PR if you think this would be a nice feature.

.NET Core 2.0 final release & netpkg-tool v0.3.5

Microsoft has released the final version of .NET Core 2.0, and with it comes a breaking change in dependencies. It seems that apps compiled with the preview of .NET Core 2.0 are unable to be launched with the final version. As such, all releases prior to 0.3.5 will be unable to run without also having the preview release installed of .NET Core 2.0. Recompilation using source packages may remedy this, however.

To clarify, if you are using .NET Core 2.0, the minimum version of netpkg-tool you can use is 0.3.5. If you are still using preview2 of .NET Core 2.0, only versions 0.3.1-0.3.4 will be compatible

(This issue is merely for public record)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.