Files
steampipe/docker-entrypoint.sh

13 lines
323 B
Bash
Executable File

#!/usr/bin/env bash
set -Eeo pipefail
chown steampipe:0 /home/steampipe/.steampipe/db/14.2.0/data/
# if first arg is anything other than `steampipe`, assume we want to run steampipe
# this is for when other commands are passed to the container
if [ "${1:0}" != 'steampipe' ]; then
set -- steampipe "$@"
fi
exec "$@"