Files
cypress/scripts/run-docker-local.sh
renovate[bot] 9df2543f88 fix(deps): update dependency electron to v13 🌟 (#17408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-08-09 22:09:30 +00:00

19 lines
441 B
Bash
Executable File

#!/bin/bash
set e+x
echo "This script should be run from cypress's root"
name=cypress/browsers:node14.17.0-chrome91-ff89
echo "Pulling CI container $name"
docker pull $name
echo "Starting Docker image with cypress volume attached"
echo "You should be able to edit files locally"
echo "but execute the code in the container"
docker run -v $PWD:/home/person/cypress \
-w /home/person/cypress${WORKING_DIR:-} \
-it $name \
/bin/bash