File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,21 @@ You can do a local docker image install of Travis to better inspect a travis bui
54
54
* [ Common Build Problems - Travis CI] ( https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image )
55
55
56
56
``` sh
57
- docker run -it quay.io/travisci/travis-node-js /bin/bash
57
+ docker run --name travis-debug -dit travisci/ci-garnet:packer-1496954857 /sbin/init
58
+ docker exec -it travis-debug bash -l
59
+
60
+ # once inside, change to travis user, rather than root
61
+ su - travis
62
+
63
+ # once on the travis user, make a clone of lighthouse and play around
58
64
```
59
65
60
- FWIW, the non-quay images mentioned in the official docs may be more recent. YMMV!
66
+ ``` sh
67
+ # you may also want to mount a local folder into your docker instance.
68
+ # This will mount your local machines's ~/temp/trav folder into the container's /home/travis/mountpoint folder
69
+ docker run -v $HOME /temp/trav:/home/travis/mountpoint --name travis-debug -dit travisci/ci-garnet:packer-1496954857 /sbin/init
70
+
71
+ ```
61
72
62
73
You can then run the travis commands (e.g. ` travis compile ` ) to install an environment and run the build script:
63
74
You can’t perform that action at this time.
0 commit comments