blob: e07df0cf484a448e166a9e5f3b35c3f4cc3effc3 (
plain) (
tree)
|
|
#!/bin/bash -x
echo "IMAGE: ${IMAGE}"
echo "PACKAGES: ${PACKAGES}"
echo "CROSS: ${CROSS}"
echo "COMMAND: ${COMMAND}"
echo "JOBS: ${JOBS}"
docker pull ${IMAGE}
docker run \
--volume=$(pwd):/build:rw \
-e PACKAGES="${PACKAGES}" \
-e COMMAND="${COMMAND}" \
-e JOBS="${JOBS}" \
-e CROSS="${CROSS}" \
${IMAGE} \
/bin/sh -x -c "cd /build; pwd; ./tools/ci/scripts/docker_incontainer.sh"
|