Make multistage Dockerfile self-contained (#9323)
Picking up all support files from the builder image has the advantage that the Dockerfile is now fully selfcontained and can be also run just standalone. This allows also cross-compilation and pushing with the proper manifests with Docker Buildkit: ``` docker buildx create --name xbuilder docker buildx use xbuilder docker buildx build -f Dockerfile.minio --platform linux/arm/v7,linux/amd64 --progress plain --push -t minio/minio . ``` which also has the advantage that the Dockerfile is the same for all platforms. Co-authored-by: Harshavardhana <harsha@minio.io>master
parent
4314ee1670
commit
fa685d7d9c
Loading…
Reference in new issue