David K. Bainbridge | b541504 | 2016-05-13 17:06:10 -0700 | [diff] [blame] | 1 | .PHONY: help |
| 2 | help: |
| 3 | @echo "image - create docker image for the MAAS deploy flow utility" |
| 4 | @echo "save - save the docker image for the MAAS deployment flow utility to a local tar file" |
| 5 | @echo "clean - remove any generated files" |
| 6 | @echo "help - this message" |
| 7 | |
| 8 | .PHONY: image |
| 9 | image: |
| 10 | docker build -t cord/maas-automation:0.1-prerelease . |
| 11 | |
| 12 | save: image |
| 13 | docker save -o cord_maas-automation.1-prerelease.tar cord/maas-automation:0.1-prerelease |
| 14 | |
| 15 | .PHONT: clean |
| 16 | clean: |
| 17 | rm -f cord_maas-automation.1-prerelease.tar |