Title: Utility of the static linked library in the image if --enable-shared is active · Issue #507 · docker-library/python · GitHub
Open Graph Title: Utility of the static linked library in the image if --enable-shared is active · Issue #507 · docker-library/python
X Title: Utility of the static linked library in the image if --enable-shared is active · Issue #507 · docker-library/python
Description: Hello, I was wondering why the static library libpythonXX.a (example in the alpine: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a) was kept in the docker image for all the image variance, while the --enable-shared f...
Open Graph Description: Hello, I was wondering why the static library libpythonXX.a (example in the alpine: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a) was kept in the docker image for all the ima...
X Description: Hello, I was wondering why the static library libpythonXX.a (example in the alpine: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a) was kept in the docker image for all the ima...
Opengraph URL: https://github.com/docker-library/python/issues/507
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Utility of the static linked library in the image if --enable-shared is active","articleBody":"Hello,\r\n\r\nI was wondering why the static library libpythonXX.a (example in the alpine: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a) was kept in the docker image for all the image variance, while the --enable-shared flag is active for the compilation process. That file is around 50% of the image size on the alpine.\r\n\r\nI am assuming this is intended for the usage of some use case where you might need to link some code directly to it, but the documentation of the image only make reference to using the image as base, including our own script and just run it with python (which seems to be dynamically linked to the .so files).\r\n\r\nI am mostly curious to know if this is intended or if this is an oversight from a few year ago when the --enable-shared flag was added.\r\n","author":{"url":"https://github.com/Lebvanih","@type":"Person","name":"Lebvanih"},"datePublished":"2020-07-30T08:10:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/507/python/issues/507"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5da8df07-c553-8cde-d4c3-0d94c7af67b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 912A:2F8072:239A921:30BCD9F:6A4ECB33 |
| html-safe-nonce | 9d5906576a47f212abe811b8bcdf8c344f9f009400a4573e432cf9039b818268 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTJBOjJGODA3MjoyMzlBOTIxOjMwQkNEOUY6NkE0RUNCMzMiLCJ2aXNpdG9yX2lkIjoiNTY3MzgwNjQ3MDE2MTgxMjI3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 306312fc1369a8acb5515be12bdbefdbd1d3dd82b484506975515c5002e0dbb3 |
| hovercard-subject-tag | issue:668473176 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/507/issue_layout |
| twitter:image | https://opengraph.githubassets.com/826a3a56f6fb33d652aa8a8f254b188d529717d789701c92d3300e3e9c66cd3d/docker-library/python/issues/507 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/826a3a56f6fb33d652aa8a8f254b188d529717d789701c92d3300e3e9c66cd3d/docker-library/python/issues/507 |
| og:image:alt | Hello, I was wondering why the static library libpythonXX.a (example in the alpine: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a) was kept in the docker image for all the ima... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lebvanih |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/docker-library/python git https://github.com/docker-library/python.git |
| octolytics-dimension-user_id | 7739233 |
| octolytics-dimension-user_login | docker-library |
| octolytics-dimension-repository_id | 21054928 |
| octolytics-dimension-repository_nwo | docker-library/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21054928 |
| octolytics-dimension-repository_network_root_nwo | docker-library/python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width