Fix case where UID and GID are passed and added a test for that case.

This commit is contained in:
PusMinus0 2018-11-22 10:11:53 +01:00
parent f39eb31253
commit 19f8bd5a41
6 changed files with 58 additions and 25 deletions

View file

@ -15,7 +15,12 @@ for image in "${images[@]}"; do
docker build -t $tag -f $image.Dockerfile .
echo "Testing image"
cp goss-default.yaml goss.yaml
dgoss run $tag
echo "Testing again with UID and GID"
cp goss-uid-test.yaml goss.yaml
dgoss run -e UID=1001 -e GID=101 $tag
done