This fix supersedes #323. It applies basically the same fixes: - local docker registries are now supported - kubectl is not downloaded on every build Also, added a fix for the case where `docker version` failed because the Docker daemon crashed, and consequently spuriously propmted the user to re-install docker. I added support for $DOCKER_PROJECT instead of just $PROJECT because the later is a little too generic for a shell env var. We can deprecate $PROJECT later. I did not add back in the better tool checks in bootstrap because CircleCI doesn't have the `command` command.
22 lines
703 B
Makefile
22 lines
703 B
Makefile
# Copyright 2016 The Kubernetes Authors All rights reserved.
|
|
#
|
|
# 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.
|
|
|
|
IMAGE ?= manager
|
|
KUBE_VERSION ?= v1.1.7
|
|
|
|
include ../include.mk
|
|
|
|
.PHONY: extras
|
|
extras: kubectl
|