SUICIDE LINUX: BATTLE ROYALE http://slbr.tildeverse.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
328 B

#!/bin/sh
num_challenges="$(
wc -l solutions.txt \
| cut -f1 -d ' '
)"
docker ps \
-f label="description=SLBR User Container" \
--format "{{.ID}}" \
| xargs docker rm -f
docker images -a \
| grep ^slbr \
| awk '{print $3}' \
| xargs docker rmi -f
printf "$num_challenges\n" > scoreboard.txt
printf "" > log.txt