phil-harmoniq / netpkg-tool Goto Github PK
View Code? Open in Web Editor NEWBundle .NET Core applications into convenient Linux binaries.
License: MIT License
Bundle .NET Core applications into convenient Linux binaries.
License: MIT License
E.g., with this Mono application that is available for Linux:
https://www.telerik.com/download/fiddler
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.
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):
git clone https://github.com/phil-harmoniq/aspnet-src
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
./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:
libglib2.0-0
needs to be installed in the Docker image so unpacking the appimagetool worksI'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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.