Files
linuxkit/alpine/packages/docker/Makefile
David Scott 30bf58a223 docker: add a patch to add --userland-proxy-bin argument
This will let us override the `docker-proxy` with the enhanced host
port-forwarding aware version.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-04 12:41:45 +01:00

25 lines
628 B
Makefile

DOCKER_VERSION=1.11.0-rc3
ARCH?=x86_64
OS?=Linux
all: bin
bin: docker.git
(cd docker.git && git fetch origin --tags)
cd docker.git && \
git checkout v${DOCKER_VERSION} && \
git branch -D v${DOCKER_VERSION}-patched; \
git checkout -b v${DOCKER_VERSION}-patched && \
(for i in $(shell ls -1 patches); do patch -p1 < ../patches/$${i}; git commit -a -s -m "applied $${i}"; done)
BIND_DIR=$(shell pwd) make -C docker.git binary
mkdir -p bin
cp docker.git/bundles/${DOCKER_VERSION}/binary/* bin/
rm -f bin/*.md5
rm -f bin/*.sha256
docker.git:
git clone git://github.com/docker/docker.git docker.git
clean:
rm -rf bin