Run the test with the uid/gid of the user

This commit is contained in:
meskio 2022-12-19 20:13:58 +01:00
parent a9d2fb1982
commit 747c9bfd6f
No known key found for this signature in database
GPG Key ID: 52B8F5AC97A2DA86

2
test
View File

@ -7,7 +7,7 @@ tear_down () {
} }
mkdir tmp mkdir tmp
cp env.sample tmp/.env cat env.sample | sed "s/USER_GROUP.*$/USER_GROUP=`id -u`:`id -g`/" > tmp/.env
cat docker-compose.yml | sed 's/registry.sindominio.net\/wordpress/wordpress/' > tmp/docker-compose.yml cat docker-compose.yml | sed 's/registry.sindominio.net\/wordpress/wordpress/' > tmp/docker-compose.yml
cd tmp cd tmp