1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 06:28:14 -05:00

prune all except setup

This commit is contained in:
Kyle Spearrin 2018-11-07 09:51:16 -05:00
parent 5aa7b64062
commit b83b006cd8
2 changed files with 4 additions and 2 deletions

View File

@ -80,7 +80,8 @@ function Docker-Compose-Files {
} }
function Docker-Prune { function Docker-Prune {
docker image prune --force --filter="label=com.bitwarden.product=bitwarden" docker image prune --all --force --filter="label=com.bitwarden.product=bitwarden" `
--filter="label!=com.bitwarden.project=setup"
} }
function Update-Lets-Encrypt { function Update-Lets-Encrypt {

View File

@ -123,7 +123,8 @@ function dockerComposeFiles() {
} }
function dockerPrune() { function dockerPrune() {
docker image prune --force --filter="label=com.bitwarden.product=bitwarden" docker image prune --all --force --filter="label=com.bitwarden.product=bitwarden" \
--filter="label!=com.bitwarden.project=setup"
} }
function updateLetsEncrypt() { function updateLetsEncrypt() {