Skip to content

Commit ac028f4

Browse files
author
Ben Moss
committed
Updates from CAPI PR
- Switch to v1alpha4 - Use more of the CAPD Makefile
1 parent 8d59978 commit ac028f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1934
-853
lines changed

Dockerfile

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1+
# syntax=docker/dockerfile:experimental
2+
3+
# Copyright 2020 The Kubernetes Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
117
# Build the manager binary
2-
FROM golang:1.13 as builder
18+
FROM golang:1.15 as builder
319

420
WORKDIR /workspace
21+
22+
# Run this with docker build --build_arg goproxy=$(go env GOPROXY) to override the goproxy
23+
ARG goproxy=https://proxy.golang.org
24+
# Run this with docker build --build_arg package=./controlplane/kubeadm or --build_arg package=./bootstrap/kubeadm
25+
ENV GOPROXY=$goproxy
26+
527
# Copy the Go Modules manifests
628
COPY go.mod go.mod
729
COPY go.sum go.sum

0 commit comments

Comments
 (0)