#!/usr/bin/env bash

set -e

mount --make-rshared /
chown "${DRYCC_UID}":"${DRYCC_GID}" -R /workspace
exec gosu "${DRYCC_UID}" "$@"