Skip to content

fishead/k8s-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this project for? | 这个项目是用来干什么的?

  1. take a docker image url
  2. get all the tags of the image
  3. generate Dockerfile for each tag
  4. (optional) copy image of each tag with the Dockerfile and Docker Hub Automated Build service

Howto generate Dockerfile

  1. Put image urls you want process in images.py

  2. Generate Dockerfiles

./gen-dockerfiles.py

(optional) How to copy image with Docker Hub Automated build service

  1. Edit variables on top of gen-automated-build-on-docker-hub python script

  2. 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+))?)$

Todo

Disclaimer

The code is really rough, use it with caution.

Releases

No releases published

Packages

No packages published