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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user