buzzfeed / sso

sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services
MIT License
3.07k stars 187 forks source link

publish multi-arch images #318

Open danbf opened 2 years ago

danbf commented 2 years ago

can we publish multi-arch images so we can use ARM on aws?

docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7
danbf commented 2 years ago

since buildx needs some setup, i do this on my end for multi-arch's:

ensure i cleared out the buildx builder in case it got interrupted before

docker buildx rm <builder-name>

then:

docker buildx create --name <builder-name>
docker buildx use <builder-name>
docker buildx build --tag <remote_tag> . --platform linux/amd64,linux/arm64,linux/arm/v7 --push

then clear out the buildx builder so it's ready for the next time i run it

docker buildx rm <builder-name>
danbf commented 2 years ago

being implemented in https://github.com/buzzfeed/sso/pull/319