summaryrefslogblamecommitdiff
path: root/tools/ci/scripts/docker_run.sh
blob: 8a3add42bee3c7959a7751ab06fb99253b287329 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            
#!/bin/bash -x

docker pull ${IMAGE}
docker run \
    --volume=$(pwd):/build:rw \
    -e PACKAGES="${PACKAGES}" \
    -e COMMAND="${COMMAND}" \
    ${IMAGE} \
    /bin/sh -x -c "cd /build; pwd; ./tools/ci/scripts/docker_incontainer.sh"