Always --pull in docker build to ensure recent base images

This commit is contained in:
Jeff Grafton
2017-01-10 14:29:47 -08:00
parent add3a08a6d
commit 19aafd291c
52 changed files with 55 additions and 55 deletions

View File

@@ -106,7 +106,7 @@ endif
# Download CNI
curl -sSL --retry 5 https://storage.googleapis.com/kubernetes-release/network-plugins/cni-${ARCH}-${CNI_RELEASE}.tar.gz | tar -xz -C ${TEMP_DIR}/cni-bin
docker build -t ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${TEMP_DIR}
docker build --pull -t ${REGISTRY}/hyperkube-${ARCH}:${VERSION} ${TEMP_DIR}
rm -rf "${TEMP_DIR}"
push: build