Mercurial > p > roundup > code
comparison doc/installation.txt @ 7643:fae314043555
build(docker): disable pip_sdist mode
in github ci:
COPY README.txt dist/* install/dist/
crashes the docker build if the dist directory is missing. This
prevents anchore/grype from scanning the image.
This is a new issue as it doesn't happen on my system. The README.txt
file is there explicitly to prevent COPY from failing if nothing
matches the wildcard. This used to work, but ....
So I am disabling building from local sdist.
This only affects maintainers. Building from sdist is done to generate
a docker that matches a source distribution that has yet to be uploaded
to pypi.
Other use cases can build using the default of local.
I haven't found a way to make a dist subdir in the docker build
context directory. I can't even figure out how to identify the context
directory name inside the build container.
Also updated installation docs.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Sep 2023 22:24:51 -0400 |
| parents | cc4f2a1d271c |
| children | e9a2b74150bd |
comparison
equal
deleted
inserted
replaced
| 7642:0b03b4dd7089 | 7643:fae314043555 |
|---|---|
| 1752 install``. This places some files (e.g. man pages, templates) in | 1752 install``. This places some files (e.g. man pages, templates) in |
| 1753 different directories from the `local` install but is preferred | 1753 different directories from the `local` install but is preferred |
| 1754 by some Python users. | 1754 by some Python users. |
| 1755 | 1755 |
| 1756 ``--build-arg="source=pip_sdist"`` | 1756 ``--build-arg="source=pip_sdist"`` |
| 1757 Disabled. | |
| 1757 This is meant for maintainer/developer use. It installs using | 1758 This is meant for maintainer/developer use. It installs using |
| 1758 pip from a source distribution (sdist) tarball built by | 1759 pip from a source distribution (sdist) tarball built by |
| 1759 following the RELEASE.txt. It is meant for testing | 1760 following the RELEASE.txt. It is meant for testing |
| 1760 releases. Normal users/admins should not use it. | 1761 releases. Normal users/admins should not use it. |
| 1761 | 1762 |
