A simple docker image to run the vsce program to package and publish VS Code extensions.
Feel free to add any issues that you find, although keep in mind this is a personal project for my occasional VS code extension development.
Install docker on your machine, navigate to the folder with your package.json
file and run:
docker run --rm -v ${PWD}:/work bmcclure89/vsce package -o bin/myExtensionName-myVersion.vsix
For an example of how I use this in a Makefile/as part of my workflow see this file
If you want to build this yourself, you can use the Makefile in this repo to make build
a image on your platform. Run make build_multiarch
to build for all of the supported platforms. Note that multi arch builds use buildx functionality and there are some changes you will need to make to your docker dameon to enable that experimental feature.
There is also a azure-pipelines.yml file that you can use to setup CI for the image.