mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-23 15:39:05 -06:00
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Zach Bloomquist <git@chary.us> Co-authored-by: David Munechika <davidam1203@gmail.com>
19 lines
440 B
Bash
Executable File
19 lines
440 B
Bash
Executable File
#!/bin/bash
|
|
set e+x
|
|
|
|
echo "This script should be run from cypress's root"
|
|
|
|
name=cypress/browsers:node16.5.0-chrome94-ff93
|
|
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
|