Skip to content

Commit

Permalink
Updates from CAPI PR
Browse files Browse the repository at this point in the history
- Switch to v1alpha4
- Use more of the CAPD Makefile
  • Loading branch information
Ben Moss committed Oct 23, 2020
1 parent 8d59978 commit ac028f4
Show file tree
Hide file tree
Showing 52 changed files with 1,934 additions and 853 deletions.
24 changes: 23 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# syntax=docker/dockerfile:experimental

# Copyright 2020 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Build the manager binary
FROM golang:1.13 as builder
FROM golang:1.15 as builder

WORKDIR /workspace

# Run this with docker build --build_arg goproxy=$(go env GOPROXY) to override the goproxy
ARG goproxy=https://proxy.golang.org
# Run this with docker build --build_arg package=./controlplane/kubeadm or --build_arg package=./bootstrap/kubeadm
ENV GOPROXY=$goproxy

# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
Expand Down
Loading

0 comments on commit ac028f4

Please sign in to comment.