Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
yecl
wecube
Commits
082363fd
Commit
082363fd
authored
4 years ago
by
zgyzgyhero
Browse files
Options
Download
Email Patches
Plain Diff
Update remove bash
parent
82ad1f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/remove.sh
+4
-1
build/remove.sh
with
4 additions
and
1 deletion
+4
-1
build/remove.sh
+
4
-
1
View file @
082363fd
...
...
@@ -2,4 +2,7 @@
docker-compose
-f
docker-compose.yml down
docker-compose
-f
wecube_core_mysql.yml down
docker rmi
`
docker images|grep
-v
$1
|grep
-E
'platform-core|platform-gateway|wecube-portal|platform-auth-server|wecube-db'
|awk
'{print $1":"$2}'
`
\ No newline at end of file
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
\ 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