summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/docker_run.sh
blob: 0f37de458207a77936d18fa923ec9d29f312c158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -x

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