Change the run script to download docker instead of build

Moving the the docker image generation to a separately maintained repo
and uploading the image to docker hub instead. Should be a far friendlier
experience for the developer.

Almost all of the files in the docker folder should be redundant except
the run_dockers.bsh file at this point.
This commit is contained in:
Andy Neff 2015-10-23 10:23:21 -04:00
parent 9fdc0bcf62
commit b100472c49

@ -64,9 +64,9 @@ for DOCKER_FILE in "${IMAGES[@]}"; do
split_image_name "${DOCKER_FILE}" #set IMAGE_NAME and IMAGE_INFO
#Auto build docker unless DOCKER_AUTOBUILD=0
if [[ ${DOCKER_AUTOBUILD-1} != 0 ]]; then
${CUR_DIR}/build_dockers.bsh ${DOCKER_FILE}
fi
#if [[ ${DOCKER_AUTOBUILD-1} != 0 ]]; then
# ${CUR_DIR}/build_dockers.bsh ${DOCKER_FILE}
#fi
#It CAN'T be empty () with set -u... So I put some defaults in here
OTHER_OPTIONS=("-it")
@ -100,7 +100,7 @@ for DOCKER_FILE in "${IMAGES[@]}"; do
-e FINAL_GID=${FINAL_GID} \
-v "${MINGW_PATCH}${REPO_DIR}:/src" \
-v "${MINGW_PATCH}${IMAGE_REPO_DIR}:/repo" \
git-lfs/${IMAGE_NAME} ${DOCKER_CMD-}
andyneff/build_git-lfs:${IMAGE_NAME} ${DOCKER_CMD-}
done