Skip to content

amirinsight/devops-insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DevOps Insight(s) Repository

Bash Scripts

How to

Save it as docker-rebuild.sh and then use it like this: bash docker-rebuild.sh $image_name $tag —file=/path/to/Dockerfile /build/context/path anything_else

If the script and Dockerfile are in the same directory and build context is . then you can simply use: bash docker-rebuild.sh $image_name $ta