Hi
I tried to build them, but there’s many dependencies, and couldn’t resolve all the issues.
So just wanted to say that it would be great if temporal team could provide official docker images for arm64 architecture as well. I was mostly look at running it on Amazon’s Graviton based instances.
Regards
Hacking up the dockerfile to support this in this PR:
temporalio:master
← ductone:pq/arm-docker
opened 09:31PM - 26 May 21 UTC
**What changed?**
- Moves the various "base" docker images into the single to… p level `Dockerfile`
- [jwilder/dockerize](https://github.com/jwilder/dockerize) seems like a semi-dead project, but I changed it to build from source from a git clone, rather than the binary releases. Probably worth looking at a replacement or removal, but this preserves the existing use of `dockerize` templates.
- Enables me to build both arm64 and x86 container images with this command:
```
docker buildx build \
--build-arg TARGET=auto-setup \
--platform linux/arm64,linux/amd64 \
-f Dockerfile \
.
```
- Partial "fix" for https://github.com/temporalio/temporal/issues/1305 -- I don't know how temporal is pushing to dockerhub, but this lets me use a single docker command to get a usable container image.
**Why?**
- Ability to run temporal on AWS Graivton2 instances
**How did you test it?**
- Not tested extensively at this time, but seems to produce reasonable docker images on arm :-)
**Potential risks**
- Maybe broke x86 docker images
**Is hotfix candidate?**
No