build.sh: Add BUILD_OPTS for custom build options
authorW. Trevor King <wking@tremily.us>
Thu, 13 Feb 2014 22:39:54 +0000 (14:39 -0800)
committerW. Trevor King <wking@tremily.us>
Thu, 13 Feb 2014 22:39:54 +0000 (14:39 -0800)
commitb449344f789e66fc104591622b427c37d63a411e
tree96dbd95de0d3e48f1bd68903e5df19623e6b9606
parentbe0daeb3f0081b12c5eacf8cc77457caaa126d4a
build.sh: Add BUILD_OPTS for custom build options

For example, to rebuild a package without using the cache:

  $ REPOS=docker-registry BUILD_OPTS=--no-cache ./build.sh

which lets you update your image after the upstream repository has
changed.
build.sh