- #!/usr/bin/env bash
- BINARYDIR=${BINARYDIR:-.}
- BUILDDIR=${BUILDDIR:-.}
- IMAGEDIR=${BUILDDIR}/image-docker
- mkdir -p ${IMAGEDIR}
- cp ${BINARYDIR}/etcd ${BINARYDIR}/etcdctl ${IMAGEDIR}
- cat ./Dockerfile-release > ${IMAGEDIR}/Dockerfile
- docker build -t quay.io/coreos/etcd:${1} ${IMAGEDIR}
|