- take a docker image url
- get all the tags of the image
- generate Dockerfile for each tag
- (optional) copy image of each tag with the Dockerfile and Docker Hub Automated Build service
-
Put image urls you want process in
images.py
-
Generate Dockerfiles
./gen-dockerfiles.py
-
Edit variables on top of gen-automated-build-on-docker-hub python script
-
Create Automated builds on Docker Hub
./gen-automated-build-on-docker-hub.py [tag-filter-regexp]
tag-filter-regexp:
regexp for filter image tags, to avoid DDOS docker.io. default value^(latest|v?\d{1,3}(\.\d+)*((-amd64)|(_coreos\.\d)|(-k8s\d+\.\d+))?)$
The code is really rough, use it with caution.