Commit e50e256
committed
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.1 parent 1d8895e commit e50e256
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1754 | 1754 | | |
1755 | 1755 | | |
1756 | 1756 | | |
| 1757 | + | |
1757 | 1758 | | |
1758 | 1759 | | |
1759 | 1760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | | - | |
158 | | - | |
| 158 | + | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
164 | | - | |
165 | | - | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments