-
William Tam authored
* Add "chown" to gpg/keys in "start-local" target that so that repo-server can access gpg keys. * * Set -u uid:gid in the docker run commands so that test images are run under the current user. * test Procfile processes will not need to perform "su" to default user (which has the current user's uid/gid) * Remove chown in start-e2e-local * clean up, remove "bash -c" * Test containers are run as uid 0 which allows uid_entrypoint.sh to perform some user setup. uid_entrypoint.sh creates a non-root user (default) and enables passwordless sudo for that user. The container entry point command is run as the non-root user. "goreman start" does "sudo" to to the processes that need root permission including sshd, fcgiwrap, and nginix. The other processes are running as the non-root user. * use /bin/bash * change back to sh * Docker image to create unpriveleged testuser and enable passwordless sudo for that user
9aae99cf