Sha256: b15ff276de49b14521d76653bce5fd85e53f1a2e1993f9cc6722d2d6edcc22b6
Contents?: true
Size: 429 Bytes
Versions: 10
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env 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
10 entries across 10 versions & 1 rubygems