-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with packaging and distribution of devcontainer as standalone executable #614
Comments
For more context here is how I try to run it: |
Well, not sure what of those two was but now I works. diff --git a/package.json b/package.json
index 1275861..d01b036 100644
--- a/package.json
+++ b/package.json
@@ -109,5 +109,11 @@
"vscode-dev-containers": "https://github.com/microsoft/vscode-dev-containers/releases/download/v0.245.2/vscode-dev-containers-0.245.2.tgz",
"vscode-uri": "^3.0.7",
"yargs": "~17.7.1"
+ },
+ "pkg": {
+ "assets": [
+ "node_modules/vscode-dev-containers/package.json",
+ "dist/node_modules/vscode-dev-containers/container-features"
+ ]
}
} -pkg devcontainer.js
+pkg . |
Well… not really:
|
Okay 2nd one was easy:
|
i'm trying the same thing, but seeing slightly different errors. i got these warning when i run pkg .
the container did start successfully but I'm getting inner error
|
Have you tried creating a separate |
It sure would be nice if there was a standalone |
The Dev Container CLI does not depend on VS Code and can be run standalone. Since we removed the dependency on |
I'm trying to build and distribute
devcontainer
as standalone executable. Currently I'm on:I'm packaging it with:
Which generates couple warnings:
But it does produce executable:
It seems to work locally:
But once I deploy it to server where I want to actually use it:
It fails:
I tried the following patch, but it did not help:
Any suggestions are welcome.
The text was updated successfully, but these errors were encountered: