Mercurial > p > roundup > code
diff scripts/Docker/Dockerfile @ 7041:0fc6e5d551b3
More Anchore fixes.
Alpine is 3.11 these days. I had hardcoded 3.10.
Hardcode 3.11 to get it running and then figure out how to determine
python version and substitute it into COPY and RUN commands.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 06 Nov 2022 22:58:56 -0500 |
| parents | 60ea33643a01 |
| children | 031cdb92fa1d |
line wrap: on
line diff
--- a/scripts/Docker/Dockerfile Sun Nov 06 22:41:04 2022 -0500 +++ b/scripts/Docker/Dockerfile Sun Nov 06 22:58:56 2022 -0500 @@ -95,7 +95,7 @@ if [ "$source" = "local_pip" ]; then cd install && pip install \ --use-feature=in-tree-build . ; fi; \ if [ "$source" = "pypi" ]; then pip install roundup; \ - cp -ril /usr/local/lib/python3.10/site-packages/usr/local/share/* \ + cp -ril /usr/local/lib/python3.11/site-packages/usr/local/share/* \ /usr/local/share; fi # Allow user to add more modules during build @@ -137,7 +137,7 @@ # pull over built assets -COPY --from=build /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages/ +COPY --from=build /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages/ COPY --from=build /usr/local/bin/roundup* /usr/local/bin/ COPY --from=build /usr/local/share /usr/local/share/ COPY scripts/Docker/roundup_start .
