mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-02-28 17:54:24 +01:00
18 lines
277 B
Bash
18 lines
277 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# store starting working directory
|
||
|
OLD_WD=$PWD
|
||
|
|
||
|
# determine working directory of shell script
|
||
|
WD=$(dirname "$(readlink -f "$0")")
|
||
|
|
||
|
cd $WD
|
||
|
|
||
|
# call docker container with local user
|
||
|
export DOCKERUID=$(id -u)
|
||
|
export DOCKERGID=$(id -g)
|
||
|
docker-compose down
|
||
|
|
||
|
cd $OLD_WD
|
||
|
|