docker based tests
This commit is contained in:
10
test/entrypoint.sh
Executable file
10
test/entrypoint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
docker_gid=$(stat -c "%g" /run/docker.sock)
|
||||
addgroup --gid ${docker_gid} --system docker
|
||||
usermod -aG docker yellowtent
|
||||
|
||||
exec su yellowtent --command "$@"
|
||||
|
||||
Reference in New Issue
Block a user