From bc7293f484ac1891b66309497589c42b08ee774b Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Thu, 15 Jan 2015 10:11:15 -0700 Subject: [PATCH] Use glock to control 3rd party dependencies --- GLOCKFILE | 1 + Makefile | 1 + README.md | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 GLOCKFILE diff --git a/GLOCKFILE b/GLOCKFILE new file mode 100644 index 0000000..a95d375 --- /dev/null +++ b/GLOCKFILE @@ -0,0 +1 @@ +github.com/docker/docker 3837c080228143378b1041364a90aa5bcf59fa00 diff --git a/Makefile b/Makefile index f8c2f6b..18f14af 100644 --- a/Makefile +++ b/Makefile @@ -18,4 +18,5 @@ dist: dist-clean mkdir -p dist/linux/amd64 && GOOS=linux GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o dist/linux/amd64/docker-squash release: dist + glock sync github.com/jwilder/docker-squash tar -cvzf docker-squash-linux-amd64-$(TAG).tar.gz -C dist/linux/amd64 docker-squash diff --git a/README.md b/README.md index 3875d8c..1d870ba 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,17 @@ If you are creating a base image or only want one final squashed layer, you can $ docker save | sudo docker-squash -from root -t newtag | docker load ``` +### Development + +This project uses [glock](https://github.com/robfig/glock) for managing 3rd party dependencies. +You'll need to install glock into your workspace before hacking on docker-squash. + +``` +$ git clone +$ glock sync github.com/jwilder/docker-squash +$ make +``` + ## License MIT