1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Enable Multi-Arch Container Image Builds

Previous to this change official descheduler container images only
supported the AMD64 hardware architecture. This change enables
building official descheduler container images for multiple
architectures.

The initially supported architectures are AMD64 and ARM64.
This commit is contained in:
Sean Malloy
2020-12-03 00:06:22 -06:00
parent 7bcd562ff5
commit bf91e6790e
3 changed files with 29 additions and 5 deletions

View File

@@ -15,8 +15,9 @@ FROM golang:1.15.2
WORKDIR /go/src/sigs.k8s.io/descheduler
COPY . .
ARG ARCH
ARG VERSION
RUN VERSION=${VERSION} make
RUN VERSION=${VERSION} make build.$ARCH
FROM scratch