在公司的Harbor里面有多版本的docker file,但是想了解具体内容构建可以镜像转换出docker file
code: https://github.com/sevck/WhaleTail
依赖,golang
git clone https://github.com/P3GLEG/WhaleTail
cd ./WhaleTail
go build .
./WhaleTail
Usage of ./WhaleTail:
-f string
File containing images to analyze seperated by line
-filter
Filters filenames that create noise such as node_modules. Check ignore.go file for more details (default true)
-v Print all details about the image
-x Save layers to current directory
若提示版本过高,则加上-sV参数即可