mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 12:23:23 +00:00
Currently the repo points to just the cherrypicks, not yet final tag Signed-off-by: Justin Cormack <justin.cormack@docker.com>
27 lines
750 B
Makefile
27 lines
750 B
Makefile
DOCKER_VERSION=1.12.0-rc2
|
|
ARCH?=x86_64
|
|
OS?=Linux
|
|
EXPERIMENTAL?=1
|
|
|
|
all: bin
|
|
|
|
bin: docker.git
|
|
(cd docker.git && git fetch origin --tags && git checkout moby-$(DOCKER_VERSION))
|
|
DOCKER_EXPERIMENTAL=$(EXPERIMENTAL) BIND_DIR=$(shell pwd) make -C docker.git binary
|
|
mkdir -p bin
|
|
cp docker.git/bundles/latest/binary-daemon/{dockerd,docker-runc} bin/
|
|
cp docker.git/bundles/latest/binary-daemon/{docker-containerd,docker-containerd-shim,docker-containerd-ctr} bin/
|
|
cp docker.git/bundles/latest/binary-daemon/docker-proxy bin/
|
|
cp docker.git/bundles/latest/binary-client/docker bin/
|
|
|
|
docker.git:
|
|
git clone git://github.com/justincormack/docker.git docker.git
|
|
|
|
arm:
|
|
mkdir -p bin
|
|
rm -f bin/docker*
|
|
cp docker-arm bin/docker
|
|
|
|
clean:
|
|
rm -rf bin docker.git
|