You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way we can provide images for Intel/AMD based as well as ARM based systems.
Image building is now prefixed by the host platform "arm" or "x86":
```
rake build:arm:arm-linux-musl # Build image for platform arm-linux-musl on linux/arm64
rake build:arm:arm64-darwin # Build image for platform arm64-darwin on linux/arm64
rake build:arm:jruby # Build image for JRuby on linux/arm64
```
and:
```
rake build:x86:arm-linux-musl # Build image for platform arm-linux-musl on linux/amd64
rake build:x86:arm64-darwin # Build image for platform arm64-darwin on linux/amd64
rake build:x86:jruby # Build image for JRuby on linux/amd64
```
Only `docker buildx build` supports multiple platforms, so that it is used now, instead of the classic `docker build`.
However buildx doesn't load the images into the local docker registry.
This is why `rake load:images` is added.
It loads all the images for the local platform and makes it available in `docker images`.
The number of images doubles with this patch, so that I get errors building all in parallel.
Therefore the number of parallel tasks should be limited like:
```
rake -j10 build:all
```
0 commit comments