This message was deleted.
# general
s
This message was deleted.
q
Be careful here. NPM or Yarn extensions which require compilation will break if you don't have the same target on your final image. Also, the image size is so big because of Node, NPM, and Yarn 🙂
s
In particular the pulumi SDK itself uses GRPC which has a native component (in the variant used)
e
Sure but you could use multistage containers to slim this down significantly. I found an alternative that I am trying out before I go down this path...
s
Another approach you can use is our (new)
action-install-pulumi-cli
then
setup-node
to run this in a non-docker environment
q
Is there docs on this?
s
Not yet - I only pushed them an hour ago 🙂
https://github.com/pulumi/action-install-pulumi-cli has an example usage in the README though