Adds scripts to CI image, cleans up Dockerfile
Adds "quality-of-life" scripts that make managing docker in CI a bit easier.
-
docker-login
to automatically login to thecode.osu.edu
docker registry -
docker-rename-to-build
to swap "pipeline names" out with "build names" (i.e. retag images that were tagged with the pipeline id with "build" to keep the cache around for pipelines that don't release)-
docker-rename-to-build $CI_PIPELINE_ID centos
will rename all images tagedcentos-$CI_PIPELINE_ID:tag
withcentos-build:tag
-
-
docker-cleanup
for cleaning up the "pipeline names"-
docker-cleanup $CI_PIPELINE_ID
will grep for all images with the id in their name, as well as any containers created from them and delete them
-
Cleans up the Dockerfile as well