I am setting up devcontainer for working with my c...
# contribute
b
I am setting up devcontainer for working with my custom provider and I am wondering if there was a specific reason that an arm version of the pulumi docker image doesn’t exist here https://hub.docker.com/r/pulumi/pulumi/tags
As it stands, my Apple Silicon machine downloads the amd64 version and it is super slow (expected since it is emulating)
building it now to see if an error happens
f
most of the docker images do have
ARM64
e.g. https://hub.docker.com/r/pulumi/pulumi-base/tags but not the base all-in-one image
b
Yeah, this is the same issue
f
upvotes matter so please do upvote if inclined!
b
already did 🙂
Correct me if I am wrong, I don’t believe I can use a language specific ones since I am building a provider and SDKs
f
hm, yeah, that sounds correct. i feel like the reasoning in that issue is sound, but also not great for your situation.
b
Well I updated the Dockerfile to use arm64 versions and building now. Let’s see if any errors happen 🤞
f
🤞
b
Would be pretty sweet to make this work and bake it into the boilerplate repos for providers
_*this* being devcontainer_s
f
yeah, definitely. I've heard some talk around how pulumi's current support of devcontainers isn't ideal, so this uh... speaks to me in terms of something we should do better 🙂 lemme look around a lil here
b
to be fair, i could use the setup from here. It is just painfully slow on arm64 due to it needing to emulate
success the arm64 version built
f
yeah, def not ideal
b
Just to come back around, I opened a PR with the changes I made to get an arm64 image built: https://github.com/pulumi/pulumi-docker-containers/pull/274
f
ooo! 🎉 I will give it a try locally tomorrow and 👍 for visibility
I ended up spending some time getting https://github.com/pulumi/devcontainer running locally instead
b
Interesting. I suppose that is to give people an easy way to add the devcontainer config and keep it updated
f
yep