Use rsync to get source into build container

We also add "version" to all docker images and containers

This version is to be incremented manually when we change the shape of the build
image (like changing the golang version or the set of volumes in the data
container).  This will delete all older versions of images and containers when
the version is different.
This commit is contained in:
Joe Beda
2016-08-17 10:45:47 -07:00
parent 22b7d90034
commit dc586ea8f7
12 changed files with 528 additions and 275 deletions

View File

@@ -14,10 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Copies any built binaries off the Docker machine.
#
# This is a no-op on Linux when the Docker daemon is local. This is only
# necessary on Mac OS X with docker-machine.
# Copies any built binaries (and other generated files) out of the Docker build contianer.
set -o errexit
set -o nounset
set -o pipefail