Skip to content

Commit

Permalink
Modify Docker prune commands (#6114)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirho-ucsc committed Dec 13, 2024
1 parent 65913b7 commit c29648c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions terraform/gitlab/gitlab.tf.json.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,20 +1936,20 @@ def merge(sets: Iterable[Iterable[str]]) -> Iterable[str]:
)
for command in [
sq(
# docker volume prune --force --all
'docker', # The docker …
'image', # … image command …
'volume', # … volume command …
'prune', # … to delete, …
'--force', # … without prompting for confirmation, …
'--all', # … all images …
f'--filter "until={90 * 24}h"', # … except those from more recent builds …
'--all', # … all unused volumes …
'> /proc/1/fd/1', # … with output sent to the container's STDOUT.
),
sq(
'docker', # The docker …
'buildx', # … buildx command …
'system', # … system command …
'prune', # … to delete, …
'--force', # … without prompting for confirmation, …
'--all', # … all images …
'--all', # … all unused images …
f'--filter "until={90 * 24}h"', # … except those from more recent builds …
'> /proc/1/fd/1', # … with output sent to the container's STDOUT.
#
Expand Down

0 comments on commit c29648c

Please sign in to comment.