Skip to content

Commit

Permalink
Merge pull request #259 from montehurd/prune-docker-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
montehurd committed Mar 29, 2024
2 parents cd5f9e3 + fb15041 commit 7be9edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pixel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function getComposeOpts( opts ) {
*/
async function cleanCommand() {
await batchSpawn.spawn( 'docker', [ 'compose', ...getComposeOpts( [ 'down', '--rmi', 'all', '--volumes', '--remove-orphans' ] ) ] );
await batchSpawn.spawn( 'docker', [ 'system', 'prune', '-af' ] );
}

let context;
Expand Down

0 comments on commit 7be9edc

Please sign in to comment.