3 ms·
I wish this existed except for binaries inside Docker. A fat binary for Windows, macOS and Linux that isn’t really a binary at all, but fetched the thing you wa
by an_opabinia 5y ago
I wish this existed except for binaries inside Docker. A fat binary for Windows, macOS and Linux that isn’t really a binary at all, but fetched the thing you want from docker and just runs it. With the local file system.
- nine_k 5y ago— I have an idea: operating system as a service! For any app, on any platform. — But that's the cloud. — No, local operating system.
- sharken 5y agoAnd i wish Microsoft would implement this for the "az vm run-command invoke --command-id RunPowerShellScript ..." command for Windows Virtual Machines. Here you have JSON quoting along with PowerShell and optionally CMD quoting. Computing should be easier than this. https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively?view=azure-cli-latest#quoting-issues https://docs.microsoft.com/en-us/cli/azure/use-cli-effective...
- alblue 5y agoI have a script for this so that I can use modern Linux tools on macOS buy without having to go down dependency hell trying to get all the versions correct. The script uses its name to look for a corresponding dockerfile/container (which it auto builds if needed) and then mounts the file system inside to allow you to run it on one or mode files locally. See eg https://github.com/alblue/scripts/blob/main/ctags https://github.com/alblue/scripts/blob/main/ctags https://github.com/alblue/scripts/blob/main/ctags-Dockerfile https://github.com/alblue/scripts/blob/main/ctags-Dockerfile