git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7236ae6
)
Nicer awk
author
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 29 Jan 2017 05:03:16 +0000
(21:03 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 29 Jan 2017 05:03:16 +0000
(21:03 -0800)
ch13/Makefile
patch
|
blob
|
history
diff --git
a/ch13/Makefile
b/ch13/Makefile
index
6e7c3e4
..
7f95a8b
100644
(file)
--- a/
ch13/Makefile
+++ b/
ch13/Makefile
@@
-14,7
+14,7
@@
stop:
# Delete images
clean:
docker ps -a | awk 'NR!=1 { print $1 }' | xargs docker rm
- docker images | awk 'NR>1
' | awk '
/ch13.*/ {print $1":"$2}' | xargs docker rmi
+ docker images | awk 'NR>1
&&
/ch13.*/ {print $1":"$2}' | xargs docker rmi
# Generate self-signed certs for localhost
ssl: certs/nginx.crt certs/nginx.key