So what does this mean? That I can finally ship portable Ruby executable without requiring the end user to install Ruby?
You should also be able to do that with Cosmopolitan/APE.
Show HN: dockerc – Docker image to static executable "compiler"
91–100 of 150 posts
Re: Show HN: dockerc – Docker image to static executable "compiler"
#92Re: Show HN: dockerc – Docker image to static executable "compiler"
#93At this point you might as well compile statically and include a virtual filesystem. Pretty much what Sun created in the 90s..
Re: Show HN: dockerc – Docker image to static executable "compiler"
#94Earlier quoted context omitted.
Im surprised no one mentioned that the program the unstable ranter wants is essentually a social media stalker app to find people on all social media sites. Perhaps some barriers to use are good sometimes.
If they don't want people to find their social media profiles, then they shouldn't have social media profiles.
Re: Show HN: dockerc – Docker image to static executable "compiler"
#95This is really great. I have been trying to get my docker to be more distributable. Right now it's just a simple python script in a python env inside a docker container inside a QEMU container to automate a click and then netcat something. Pretty sweet. It's only like 20GB, so pretty lightweight by modern standards.
Re: Show HN: dockerc – Docker image to static executable "compiler"
#96Earlier quoted context omitted.
I wish we could have something like exes with permissions. Similar to browsers. So I could run an arbitrary executable, but the OS level APIs would be blocked unless the user allowed the given permission.
What's wrong with flatpak for that? Honest question as I don't know that space really
Flatpack and snap and other systems that conflate packaging and permission management get it totally wrong. Permission management is an OS-issue, not a packaging issue. Thus, distributing a plain static executable or a python script should be just as safe as a "safely packaged" app.
Re: Show HN: dockerc – Docker image to static executable "compiler"
#97Re: Show HN: dockerc – Docker image to static executable "compiler"
#98Cosmopolitan libc allows compiling of a single binary that runs on multiple OS platforms without modification – maybe Dockerc could use this to create a more universally portable container binary?
WASM binaries could run in the browser, or another WASM VM, including securely sandboxed environments that spin up fast.
I understand that newer Docker builds can use WASM under the hood so WASM in WASM would be funny, it seems if that were the case, maybe extracting the WASM with a more thin wrapper would be better?