Skip to content

Commit

Permalink
cleanup docker images when using docker compose down
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Oct 25, 2023
1 parent bd2db00 commit b868e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func runAllTests() {

func cleanUpEnvironment() {
fmt.Println("Cleaning up Docker environment...")
err := exec.Command(dockerComposeCmd, "down").Run()
err := exec.Command(dockerComposeCmd, "down", "--volumes", "--rmi", "all").Run()
if err != nil {
panic(err)
}
Expand Down

0 comments on commit b868e19

Please sign in to comment.