Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
13cefbed
Commit
13cefbed
authored
Apr 10, 2017
by
J. Fernando Sánchez
Browse files
Clean dev containers in makefile
parent
4ba9535d
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
13cefbed
...
...
@@ -73,8 +73,8 @@ pip_test: $(addprefix pip_test-,$(PYVERSIONS))
clean
:
@
docker ps
-a
|
awk
'/
$(REPO)
\/
$(NAME)
/{ split($$2, vers, "-"); if(vers[0] != "
${VERSION}
"){ print $$1;}}'
| xargs docker
rm
-v
2>/dev/null||
true
@
docker images |
awk
'/
$(REPO)
\/
$(NAME)
/{ split($$2, vers, "-"); if(vers[0] != "
${VERSION}
"){ print $$1":"$$2;}}'
| xargs docker rmi 2>/dev/null||
true
@
docker
rmi
$(NAME)
-dev
2>/dev/null
||
true
@
docker
stop
$(
addprefix
$(NAME)
-dev
,
$(PYVERSIONS)
)
2>/dev/null
||
true
@
docker
rm
$(
addprefix
$(NAME)
-dev
,
$(PYVERSIONS)
)
2>/dev/null
||
true
git_commit
:
git commit
-a
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment