mirror of https://github.com/perkeep/perkeep.git
add makefile to build systemd-docker from source
The systemd-docker image on Docker Hub uses an out of date version of the Docker client. We build our own to get the version required by recent CoreOS releases. See #646. Change-Id: I0b1dc6c70f44055c8f92be44cf16269df8a63f0e
This commit is contained in:
parent
a87632f593
commit
c90ae0219c
|
@ -0,0 +1,13 @@
|
|||
systemd-docker.tar.gz: systemd-docker
|
||||
(cd systemd-docker && GOPATH=$(shell pwd)/systemd-docker/Godeps/_workspace go build -o image/systemd-docker)
|
||||
(cd systemd-docker/image && docker build -t camlistore/systemd-docker .)
|
||||
docker save camlistore/systemd-docker | gzip > $@
|
||||
|
||||
systemd-docker:
|
||||
git clone https://github.com/ibuildthecloud/systemd-docker
|
||||
# Commit 9b02cf96ec bumps the docker version to 1.12.
|
||||
(cd systemd-docker && git reset --hard 9b02cf96ec874bae449231901631b0a4b3d546c0)
|
||||
|
||||
clean:
|
||||
rm -rf systemd-docker
|
||||
rm systemd-docker.tar.gz
|
Loading…
Reference in New Issue