Build new autoscaler containers
Versions: 1.16.5, 1.17.2 and 1.18.1 Story: 2007465 Task: 39152 Change-Id: Ie70e5ba38799c3da17ec9a34f6990f8c2d853732
This commit is contained in:
committed by
Bharat Kunwar
parent
ce70da25ad
commit
39ccad9cc4
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.12.10 as builder
|
FROM golang:1.13.10 as builder
|
||||||
|
|
||||||
ARG AUTOSCALER_VERSION
|
ARG AUTOSCALER_VERSION
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ ENV GOPATH=/go
|
|||||||
WORKDIR $GOPATH/src/k8s.io/
|
WORKDIR $GOPATH/src/k8s.io/
|
||||||
RUN git clone -b ${AUTOSCALER_VERSION} --single-branch http://github.com/kubernetes/autoscaler.git autoscaler
|
RUN git clone -b ${AUTOSCALER_VERSION} --single-branch http://github.com/kubernetes/autoscaler.git autoscaler
|
||||||
WORKDIR autoscaler/cluster-autoscaler
|
WORKDIR autoscaler/cluster-autoscaler
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o cluster-autoscaler --ldflags=-s --tags magnum
|
RUN CGO_ENABLED=0 GO111MODULE=off GOOS=linux go build -o cluster-autoscaler --ldflags=-s --tags magnum
|
||||||
|
|
||||||
FROM gcr.io/distroless/static:latest
|
FROM gcr.io/distroless/static:latest
|
||||||
|
|
||||||
|
|||||||
@@ -21,5 +21,6 @@ magnum_images:
|
|||||||
helm_version: v2.12.3
|
helm_version: v2.12.3
|
||||||
|
|
||||||
cluster_autoscaler_versions:
|
cluster_autoscaler_versions:
|
||||||
- version: 1.15.2
|
- version: 1.16.5
|
||||||
- version: 1.16.1
|
- version: 1.17.2
|
||||||
|
- version: 1.18.1
|
||||||
|
|||||||
Reference in New Issue
Block a user