summaryrefslogtreecommitdiffstats
path: root/testing/docker/fedora32/test/stop_test_shell.sh
blob: c0a9707ce73e95b29229f5d2cd4af7610f9bb2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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