diff --git a/cobalt/site/README.md b/cobalt/site/README.md index 4a17edbce192c..c9b1695ed3974 100644 --- a/cobalt/site/README.md +++ b/cobalt/site/README.md @@ -14,7 +14,7 @@ 3. Run it to regenerate the site. ```shell - $ docker run -it --mount type=bind,source=$(pwd),target=/code docsite + $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code docsite ``` 4. (Optional) To preview the changes you must commit the generated files and diff --git a/docker/linux/linux-x64x11/requirements.in b/docker/linux/linux-x64x11/requirements.in index 5d8c0461d5f30..e3fb94da30036 100644 --- a/docker/linux/linux-x64x11/requirements.in +++ b/docker/linux/linux-x64x11/requirements.in @@ -1,2 +1,8 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + selenium==3.141.0 Brotli==1.0.9 diff --git a/docker/linux/unittest/requirements.in b/docker/linux/unittest/requirements.in index 1a3f9e257af26..c3b047c5a4c97 100644 --- a/docker/linux/unittest/requirements.in +++ b/docker/linux/unittest/requirements.in @@ -1,3 +1,9 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + selenium==3.141.0 Brotli==1.0.9 junitparser==2.8.0 diff --git a/docker/precommit_hooks/requirements.in b/docker/precommit_hooks/requirements.in index daa21ff92e3c7..8998413d3df55 100644 --- a/docker/precommit_hooks/requirements.in +++ b/docker/precommit_hooks/requirements.in @@ -1,3 +1,9 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + pre-commit<3 cpplint<2 yapf<1 diff --git a/docker/pytest/requirements.in b/docker/pytest/requirements.in index fc99e3f622307..4f5aa3435ea96 100644 --- a/docker/pytest/requirements.in +++ b/docker/pytest/requirements.in @@ -1,3 +1,9 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + pytest>=7.2.0 coverage<7 requests>=2.31.0 diff --git a/docker/windows/base/build/requirements.in b/docker/windows/base/build/requirements.in index ffe2fce498955..b2827998fcf76 100644 --- a/docker/windows/base/build/requirements.in +++ b/docker/windows/base/build/requirements.in @@ -1 +1,7 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + six diff --git a/precommit_hooks/requirements.in b/precommit_hooks/requirements.in index daa21ff92e3c7..8998413d3df55 100644 --- a/precommit_hooks/requirements.in +++ b/precommit_hooks/requirements.in @@ -1,3 +1,9 @@ +# IMPORTANT: Remember to also update requirements.txt when updating this file: +# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash +# In the container: +# $ pip3 install pip-tools +# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in + pre-commit<3 cpplint<2 yapf<1