We are pushing pyodide_build to PyPI as a Python package, but for now,
installing pyodide_build from PyPI (i.e. pip install pyodide_build`) is almost
useless because:
there are bunch of hard-coded paths (e.g. Path(__file__).parents[2]),
its dependencies are not specified in setup.cfg.
This PR is for mitigating this situation by removing hard-coded paths and
adding tests, and is also a preparation for our new CLI
(https://github.com/pyodide/pyodide/issues/1977).
* Update dockerfile and requirements.txt
* Temporarily use custom docker image
* Add build args for auto deployment
* Add missing build args
* Fix comment
* Temporarily disable the crashing test
* Change ARGS to ENV
* Use direct url instead of apt for chrome
* Support chrome versioning
* Update docker image
* Fix build args to env variables
* Revert to build args
* Unify version argument format
* Bring back the original CI image