René's URL Explorer Experiment


Title: Size optimizations · Issue #448 · docker-library/python · GitHub

Open Graph Title: Size optimizations · Issue #448 · docker-library/python

X Title: Size optimizations · Issue #448 · docker-library/python

Description: Hi. I've come across a couple of size optimizations, which may sound interesting. By default, Alpine Linux builds packages with -Os GCC flag, which optimizes compiled binaries for size. By setting CFLAGS="-Os", I was able to reduce size ...

Open Graph Description: Hi. I've come across a couple of size optimizations, which may sound interesting. By default, Alpine Linux builds packages with -Os GCC flag, which optimizes compiled binaries for size. By setting ...

X Description: Hi. I've come across a couple of size optimizations, which may sound interesting. By default, Alpine Linux builds packages with -Os GCC flag, which optimizes compiled binaries for size. By sett...

Opengraph URL: https://github.com/docker-library/python/issues/448

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Size optimizations","articleBody":"Hi. I've come across a couple of size optimizations, which may sound interesting. By default, Alpine Linux builds packages with `-Os` GCC flag, which optimizes compiled binaries for size. By setting `CFLAGS=\"-Os\"`, I was able to reduce size of `3.8-alpine3.11` image from 112 MB to 83.9 MB (25% smaller). Also, Alpine Linux runs `strip` on all compiled binaries. AFAIK we can imitate that by setting `LDFLAGS=\"-Wl,--strip-all\"`, which strips all symbols from compiled binaries. After setting it, the image size was further reduced to 67.3 MB (40% smaller). Any thoughts?","author":{"url":"https://github.com/lubo","@type":"Person","name":"lubo"},"datePublished":"2020-01-12T09:26:08Z","url":"https://github.com/docker-library/python/issues/448"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a5d824f4-06bb-9e54-33a7-ac649a4a5e4a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A54:E40BB:F3D38A:14D6543:6AFE9A07
html-safe-nonce460e4fef44cddde353582bff8738068f2e6e9b488cf772561cb48559e735a947
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTU0OkU0MEJCOkYzRDM4QToxNEQ2NTQzOjZBRkU5QTA3IiwidmlzaXRvcl9pZCI6IjU2MDg5MTg4NTE1ODk2NzU1MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca448eb57259f970a69334011b46e63f8e46112529d9718d7b3d526cb8db40b29
hovercard-subject-tagissue:548544224
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/448/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69857125da7c96dcb8849adb6a309b58f052794768c058924083f4bd01cbde3e/docker-library/python/issues/448
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69857125da7c96dcb8849adb6a309b58f052794768c058924083f4bd01cbde3e/docker-library/python/issues/448
og:image:altHi. I've come across a couple of size optimizations, which may sound interesting. By default, Alpine Linux builds packages with -Os GCC flag, which optimizes compiled binaries for size. By setting ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelubo
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/docker-library/python git https://github.com/docker-library/python.git
octolytics-dimension-user_id7739233
octolytics-dimension-user_logindocker-library
octolytics-dimension-repository_id21054928
octolytics-dimension-repository_nwodocker-library/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21054928
octolytics-dimension-repository_network_root_nwodocker-library/python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/docker-library/python/issues/448#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F448
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F448
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-library%2Fpython
Reloadhttps://github.com/docker-library/python/issues/448
Reloadhttps://github.com/docker-library/python/issues/448
Reloadhttps://github.com/docker-library/python/issues/448
docker-libraryhttps://github.com/docker-library
pythonhttps://github.com/docker-library/python
Codehttps://github.com/docker-library/python
Issues23 (23)https://github.com/docker-library/python/issues
Pull requests5 (5)https://github.com/docker-library/python/pulls
Discussionshttps://github.com/docker-library/python/discussions
Actionshttps://github.com/docker-library/python/actions
Projectshttps://github.com/docker-library/python/projects
Security and qualityhttps://github.com/docker-library/python/security
Insightshttps://github.com/docker-library/python/insights
https://github.com/docker-library/python
New issuehttps://github.com/login?return_to=https://github.com/docker-library/python/issues/448
New issuehttps://github.com/login?return_to=https://github.com/docker-library/python/issues/448
Size optimizationshttps://github.com/docker-library/python/issues/448#top
RequestRequest for image modification or featurehttps://github.com/docker-library/python/issues?q=state%3Aopen%20label%3A%22Request%22
https://github.com/lubo
lubohttps://github.com/lubo
on Jan 12, 2020https://github.com/docker-library/python/issues/448#issue-548544224
wglamberthttps://github.com/wglambert
RequestRequest for image modification or featurehttps://github.com/docker-library/python/issues?q=state%3Aopen%20label%3A%22Request%22
on Jan 13, 2020https://github.com/docker-library/python/issues/448#event-2943188109
https://github.com/tianon
tianonhttps://github.com/tianon
on Jan 14, 2020https://github.com/docker-library/python/issues/448#issuecomment-574393658
https://github.com/lubo
lubohttps://github.com/lubo
on Jan 14, 2020https://github.com/docker-library/python/issues/448#issuecomment-574400078
GCC Compiler Tests At A Variety Of Optimization Levels Using Clear Linuxhttps://www.phoronix.com/scan.php?page=article&item=clear-gcc6-opts&num=1
https://github.com/J0WI
J0WIhttps://github.com/J0WI
on Jan 16, 2020https://github.com/docker-library/python/issues/448#issuecomment-575161884
tianon/dockerfiles#76 (comment)https://github.com/tianon/dockerfiles/pull/76#discussion_r365464747
https://github.com/autoferrit
autoferrithttps://github.com/autoferrit
on May 13, 2020https://github.com/docker-library/python/issues/448#issuecomment-628182498
https://github.com/J0WI
J0WIhttps://github.com/J0WI
on May 13, 2020https://github.com/docker-library/python/issues/448#issuecomment-628195770
https://gitlab.alpinelinux.org/alpine/aports/-/issues/11129https://gitlab.alpinelinux.org/alpine/aports/-/issues/11129
https://github.com/lubo
lubohttps://github.com/lubo
on May 13, 2020https://github.com/docker-library/python/issues/448#issuecomment-628215346
@J0WIhttps://github.com/J0WI
https://github.com/autoferrit
autoferrithttps://github.com/autoferrit
on May 13, 2020https://github.com/docker-library/python/issues/448#issuecomment-628215704
#483https://github.com/docker-library/python/pull/483
https://github.com/tianon
tianonhttps://github.com/tianon
on May 19, 2020https://github.com/docker-library/python/issues/448#issuecomment-631045841
#483https://github.com/docker-library/python/pull/483
tianonhttps://github.com/tianon
completedhttps://github.com/docker-library/python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 19, 2020https://github.com/docker-library/python/issues/448#event-3353466635
Sign up for freehttps://github.com/signup?return_to=https://github.com/docker-library/python/issues/448
Sign in to commenthttps://github.com/login?return_to=https://github.com/docker-library/python/issues/448
RequestRequest for image modification or featurehttps://github.com/docker-library/python/issues?q=state%3Aopen%20label%3A%22Request%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.