summaryrefslogtreecommitdiffstats
path: root/auth/docker/agent.sh
blob: f734c629b46640214e31393b04e19371a8232523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
. ./d.props

docker run \
    -it \
    --rm \
    --mount 'type=volume,src=aaf_config,dst='$CONF_ROOT_DIR',volume-driver=local' \
    --add-host="$HOSTNAME:$HOST_IP" \
    --add-host="aaf.osaaf.org:$HOST_IP" \
    --name aaf_agent_$USER \
    ${ORG}/${PROJECT}/aaf_config:${VERSION} \
    /bin/bash "$@"