Skip to content

Commit

Permalink
fix: add more compilation args
Browse files Browse the repository at this point in the history
  • Loading branch information
swimablefish committed Aug 16, 2023
1 parent 7ba6805 commit e3be3c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cluster-autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ RUN godep version

WORKDIR /gopath/src/k8s.io/autoscaler/cluster-autoscaler
ADD . .
RUN go build -o cluster-autoscaler
RUN CGO_ENABLED=0 GOOS=linux go build -o cluster-autoscaler --ldflags "-s"

FROM alpine
COPY --from=build /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler /

COPY --from=build /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler .
CMD ["/cluster-autoscaler"]
CMD ["./cluster-autoscaler"]
2 changes: 1 addition & 1 deletion cluster-autoscaler/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ limitations under the License.
package version

// ClusterAutoscalerVersion contains version of CA.
const ClusterAutoscalerVersion = "1.23.2"
const ClusterAutoscalerVersion = "1.23.4"

0 comments on commit e3be3c4

Please sign in to comment.