datatracker/docker/cleanall
Nicolas Giard b6186f1fab
chore(dev): fix uid/gid mapping for non-vscode devs (#3981)
* chore: fix uid/gid mapping for non-vscode devs

* chore: fix volume ownership in devcontainer

* chore: use zsh in init script + remove temp mounted folders

* chore: ignore group mapping error during devcontainer build

* chore: fix ownership when running as root on host

* chore: use new docker compose command format + fix root check

* chore: improve uid/gid mapping message output

* chore: include chromedriver permission fix

* chore: skip parent dev image and install node directly instead of nvm

* chore: reapply gitignore changes + better dev help message
2022-05-20 09:10:41 -05:00

10 lines
196 B
Bash
Executable file

#!/bin/bash
cd ..
echo "Shutting down any instance still running and purge images..."
docker compose down -v --rmi all
echo "Purging dangling images..."
docker image prune
cd docker
echo "Done!"