{"push_id":796795061,"size":1,"distinct_size":1,"ref":"refs/heads/stbt-docker","head":"5d6a0c2562c2cd6585a5dacedecb7e9328a5ed48","before":"75ef5bfc6bb2bbb4b6b720d253804c4d27b28b22","commits":[{"sha":"5d6a0c2562c2cd6585a5dacedecb7e9328a5ed48","author":{"email":"37d41699bdee4fcb969ca499eb0f8b82c60d59cc@stb-tester.com","name":"William Manley"},"message":"Add stbt-docker: Used when video-capture hardware isn't required\n\nRuns the stbt command in a docker container, set-up like an stb-tester ONE\nbut without video capture or IR control.  This is intended to be used as\nthe \"stbt\" command on MacOS and Windows allowing people to do local\ndevelopment and testing (pylint, running selftests, etc.) when\nvideo-capture is not needed.\n\nUsage:\n\n    $ stbt docker lint tests/tests.py\n    ********** module tests\n    E: 22, 4: No name '_load_template' in module 'stbt' (no-name-in-module)\n\n    $ stbt docker exec python -m doctest tests/tests.py\n    ...\n\n    $ stbt docker exec\n    Python 2.7.6 (default, Jun 22 2015, 17:58:13)\n    [GCC 4.8.2] on linux2\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n    >>>\n\nEnvironment variables:\n\n* `DOCKER` - The location of the `docker` binary defaults to \"`docker`\"\n* `DOCKER_OPTS` - provide additional arguments to `docker run`.  For instance\n  `DOCKER_OPTS=\"--memory=2g\"` will limit stbt to using 2GB of memory.  Shell\n  escaping is used to allow specifiying arguments with spaces in.\n\nThis program is built with portability in mind so it should run on Mac OS and\nWindows.  The only dependencies are Python and docker.  It is also\nself-contained and relocatable so it can be deployed as a single file with no\ndependency on anything else in stbt.\n\nNote: stbt-docker hasn't actually been tested on MacOS or Windows so for\nthe time-being portability is an aspiration, but a realisic one.\n\nIn the future it might be worth re-writing this in Go so we can drop the\nPython dependency too.","distinct":true,"url":"https://api.github.com/repos/stb-tester/stb-tester/commits/5d6a0c2562c2cd6585a5dacedecb7e9328a5ed48"}]}