Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
52387df2
Commit
52387df2
authored
4 years ago
by
zgyzgyhero
Browse files
Options
Download
Email Patches
Plain Diff
Update remove bash
parent
96d6c8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/remove.sh
+4
-0
build/remove.sh
with
4 additions
and
0 deletions
+4
-0
build/remove.sh
+
4
-
0
View file @
52387df2
...
...
@@ -13,4 +13,8 @@ docker-compose -f wecube_core_mysql.yml down
if
[[
-n
`
docker images|grep
-v
$1
|grep
-E
'platform-core|platform-gateway|wecube-portal|platform-auth-server|wecube-db'
|awk
'{print $1":"$2}'
`
]]
then
docker rmi
`
docker images|grep
-v
$1
|grep
-E
'platform-core|platform-gateway|wecube-portal|platform-auth-server|wecube-db'
|awk
'{print $1":"$2}'
`
fi
if
[[
-n
`
docker images|grep none|awk
'{print $3}'
`
]]
then
docker rmi
`
docker images|grep none|awk
'{print $3}'
`
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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