solar/docker-chrome/entrypoint_root.sh

7 lines
233 B
Bash

#!/bin/bash
# Fix chrome-profile mount permissions so user 1000 can create SingletonLock etc.
if [ -d /data/chrome-profile ]; then
chown -R 1000:0 /data/chrome-profile
fi
exec gosu 1000 /dockerstartup/dockerstartup_wrapper.sh "$@"