mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
Add a build flag to build from master
This donwloads from master.dockerproject.org and fixes up the different URL structure. Use `make DOCKER_VERSION=master` Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
8c70f94a26
commit
5f625a6889
@ -14,6 +14,17 @@ endif
|
||||
|
||||
DOCKER_IMAGE?=docker:$(DOCKER_VERSION)
|
||||
|
||||
ifeq ($(DOCKER_VERSION),master)
|
||||
ifeq ($(OS),Linux)
|
||||
OS=linux
|
||||
endif
|
||||
ifeq ($(ARCH),x86_64)
|
||||
ARCH=amd64
|
||||
endif
|
||||
MASTER_VERSION:=$(shell curl -fsSL https://master.dockerproject.org/version)
|
||||
DOCKER_BIN_URL=https://master.dockerproject.org/$(OS)/$(ARCH)/docker-$(MASTER_VERSION).tgz
|
||||
endif
|
||||
|
||||
.PHONY: download hub cleanusr
|
||||
|
||||
ifeq ($(DOCKER_BIN_URL)$(FORCE_CURL)$(RELEASE_CANDIDATE),)
|
||||
|
Loading…
Reference in New Issue
Block a user