Sha256: 4c60702b78f3d76540ebd44208d47f7c826b8ffb48cda9099238d7e86790ec08
Contents?: true
Size: 421 Bytes
Versions: 8
Compression:
Stored size: 421 Bytes
Contents
#!/bin/bash set -e chown -R "$APP_UID:$APP_GID" /home/app groupmod -g "$APP_GID" app usermod -u "$APP_UID" -g "$APP_GID" app # There's something strange with either Docker or the kernel, so that # the 'app' user cannot access its home directory even after a proper # chown/chmod. We work around it like this. mv /home/app /home/app2 cp -dpR /home/app2 /home/app rm -rf /home/app2 if [[ $# -gt 0 ]]; then exec "$@" fi
Version data entries
8 entries across 8 versions & 1 rubygems