Gyeongjae Choi
525d1111b0
CI Improve docker tagging rules ( #2168 )
2022-02-14 18:34:13 +01:00
Gyeongjae Choi
950c1dcbd2
CI Update to newer docker image ( #2160 )
2022-02-10 09:36:18 +01:00
Hood Chatham
276d396fff
Version 0.19.0 ( #2099 )
2022-01-10 15:17:53 -08:00
Gyeongjae Choi
4f2a9906c4
Fix run_docker to not ignore PYODIDE_SYSTEM_PORT ( #1807 )
2021-08-28 09:03:24 +02:00
Hood Chatham
250c48038b
Release 0.18.0 ( #1775 )
2021-08-03 21:34:14 +02:00
Hood Chatham
2fde295e21
Don't bind a port in run_docker by default ( #1750 )
2021-07-27 00:47:11 +02:00
Hood Chatham
f0bd568a31
Set up pytest node tests ( #1717 )
2021-07-20 10:48:27 +02:00
Devin Neal
c0bec41b78
Use the PORT_CONFIGURATION_LINE in run_docker ( #1723 )
2021-07-18 17:49:35 -07:00
Ondřej Staněk
601e474e7d
Fix run_docker to work on Mac ( #1695 ) [skip ci]
2021-07-09 10:41:28 -07:00
Hood Chatham
7bf1b55001
Add a --root option to run_docker to run container as root ( #1686 )
2021-07-05 09:42:38 -07:00
Hood Chatham
653891b045
ENH Add Ctypes support ( #1656 )
2021-06-26 10:34:31 +02:00
Hood Chatham
b4f4bcffdc
Update to Python 3.9.5 ( #1637 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-19 15:49:25 -07:00
Ondřej Staněk
f9a68998e5
run_docker: option to run non-interactively ( #1641 )
...
Allows to execute `run_docker` in environments such as Github Actions.
Specifying the `--non-interactive` flag resolves the error "the input device
is not a TTY".
Co-authored-by: Ondrej Stanek <ondrej@ostan.cz>
2021-06-17 00:04:47 +02:00
Hood Chatham
ab1b6c8d24
MAINT Use prettier to format javascript ( #1554 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-05-01 10:17:32 -07:00
Roman Yurchak
c49dd7ad5f
Version 0.17.0 ( #1515 )
2021-04-21 21:51:28 +02:00
Roman Yurchak
5a2f7d027f
MAINT Update to selenium 4.0.0.b3 ( #1422 )
2021-04-19 13:39:22 +02:00
Roman Yurchak
e8ca3e2552
MAINT Update to Firefox 87 in tests ( #1209 )
2021-04-19 09:06:22 +02:00
Roman Yurchak
f063719e98
MAINT Use Chrome 89 in tests ( #1462 )
2021-04-13 23:12:39 +02:00
Hood Chatham
6fb385bc8c
BLD run_docker as the host user not as root ( #1429 )
2021-04-04 12:19:54 -07:00
Ondřej Staněk
2c98abfd73
run_docker: Allow to run arbitrary command in docker ( #1424 )
...
Useful for unattended builds.
2021-04-03 15:20:42 -07:00
Ondřej Staněk
52045b7802
BLD Optionally disable docker port binding ( #1423 )
...
Useful for building pyodide within a docker in a multi-user environment.
2021-04-03 11:38:28 -07:00
Roman Yurchak
7df15d175e
MAINT Set shm size to 2GB in run_docker ( #1401 )
2021-03-31 21:53:15 +02:00
Roman Yurchak
afb522ed59
Release 0.17.0a2 ( #1356 )
2021-03-21 19:03:09 +01:00
Hood Chatham
9baffb6b7f
Use hypothesis to test string conversions between js and python ( #1339 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-17 10:03:42 +01:00
Dexter Chua
cd198e2927
Use python:3.8.2-slim-buster Docker base image ( #1095 )
...
This doesn't come with any build dependencies by default, so this
clarifies what really is needed (and as you can see from the diff, not
much).
2021-01-10 21:14:50 +08:00
Roman Yurchak
b2a2f413d8
MAINT Update pre-built docker version to 0.16.1 ( #1068 )
2021-01-07 20:30:42 +01:00
Dexter Chua
4ae245855d
Install uglifyjs and lessc via npm ( #1002 )
...
The installation is very fast, and this avoids having two copies of node
around. In particular, this avoids the need to monkey-patch uglify-js to
use the system node.
This can be further streamlined when #792 is merged
2021-01-01 23:43:48 +08:00
Dexter Chua
03447f9fff
Use newer docker image in run_docker ( #848 )
2020-12-12 11:31:53 +01:00
Dexter Chua
81df4e24a7
Simplify Docker image ( #815 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-12-06 21:17:17 +01:00
abolger
137e69eb3a
Adding new flag for prebuilt docker version ( #804 )
...
Co-authored-by: Adrienne Bolger <adrienne@blochealth.com>
2020-11-21 16:57:54 +01:00
Michael Panchenko
ca7f4e2e44
Docker image with prebuilt pyodide ( #787 )
2020-11-08 21:05:38 +01:00
Roman Yurchak
018f4a23c9
MNT Update to firefox 70.0 / geckodriver 0.26 in CI ( #622 )
2020-07-09 00:37:02 +02:00
Roman Yurchak
fc5495ffdb
Update to Python 3.8.2 ( #712 )
...
* Updating to CPython 3.8
* More fixes
* Skip python headers check in tools/dependency-check.sh
* Fix checksum
* Fix packages
* Fix syntax error
* Fix benchmark path
* Update CPython tests
* More test fixes
* Fix PyStone
* More Cpython test fixes
* Update docs
* Fix issue in conftest
* Add documentation
* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak
ee3e5e44c3
Update docker image to Debian buster ( #660 )
2020-06-06 14:18:21 +02:00
Marc Abramowitz
30b69116e0
Allow configuring run_docker ports using env vars
...
This allows changing various `run_docker` settings using env vars. The
primary one that I wanted was the ability to easily set the system port
used so that I could run two pyodide containers.
Before when running a second instance of `./run_docker`:
```
$ ./run_docker
docker: Error response from daemon: driver failed programming external connectivity on endpoint quirky_banach (45f5dd12606ac5d732a311ef3f3c378e359bbbd406a1c65915a300ec413eaf25): Bind for 0.0.0.0:8000 failed: port is already allocated.
```
With this PR:
```
$ PYODIDE_SYSTEM_PORT=8001 ./run_docker
root@29308e720856:/src#
```
I also broke the `docker run` command on to multiple lines (which I find
more readable; hopefully others agree) and added an `exec` to the
command, so the shell process on the host doesn't have to hang around
waiting for the container to exit.
2019-03-21 07:49:50 -07:00
Madhur Tandon
4abae985ea
Add Documentation + Minor Changes
2018-12-11 13:26:51 +05:30
Madhur Tandon
0a72c4efd8
Expose Port 8000 for easy testing
...
Add ``serve`` module as a command line subcommand which enables us to start a server within the docker environment.
This is helpful in testing the ``pyodide`` builds running within the docker environment using external browser
programs of the same machine.
2018-12-11 12:55:24 +05:30
Roman Yurchak
79ba41b484
Update the iodide/pyodide-env:0.3.1 image
2018-11-15 13:24:27 +01:00
Roman Yurchak
aa14302f6b
Increment iodide/pyodide-env image to 0.3.0 also in run_docker
2018-10-16 17:24:45 +02:00
Michael Droettboom
da7b5803a6
Rename image pyodide -> pyodide-env
2018-10-09 12:38:51 -04:00
Michael Droettboom
05f60214f6
Fix typo
2018-10-09 10:27:58 -04:00
Michael Droettboom
7ae58324bc
Address comments in the PR
2018-10-09 10:22:25 -04:00
Michael Droettboom
4562841b61
Provide a Docker image for building
2018-10-08 15:33:33 -04:00