{"id":31510,"date":"2025-04-21T14:31:03","date_gmt":"2025-04-21T06:31:03","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/31510.html"},"modified":"2025-04-21T14:31:03","modified_gmt":"2025-04-21T06:31:03","slug":"%e6%9e%84%e5%bb%ba%e5%ae%b9%e5%99%a8%e9%95%9c%e5%83%8f%e5%88%a9%e5%99%a8%ef%bc%9abuildkit%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/31510.html","title":{"rendered":"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5"},"content":{"rendered":"<h2>\u7b80\u4ecb<\/h2>\n<p>BuildKit \u662f\u7531 Moby \u9879\u76ee\u63a8\u51fa\u7684\u4e00\u4e2a\u65b0\u578b\u6784\u5efa\u5f15\u64ce&#xff0c;\u65e8\u5728\u63d0\u5347\u5bb9\u5668\u955c\u50cf\u6784\u5efa\u7684\u901f\u5ea6\u3001\u6548\u7387\u548c\u5b89\u5168\u6027\u3002\u5b83\u6700\u521d\u4f5c\u4e3a Docker \u5f15\u64ce\u7684\u53ef\u9009\u7ec4\u4ef6\u5f15\u5165&#xff0c;\u4f46\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u73b0\u4ee3\u5bb9\u5668\u5316\u5e94\u7528\u6784\u5efa\u7684\u9996\u9009\u5de5\u5177\u4e4b\u4e00\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"439\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421063102-6805e626b0924.png\" width=\"959\" \/><\/p>\n<h3>BuildKit \u7684\u4f18\u70b9<\/h3>\n<h4>\u5e76\u884c\u6784\u5efa<\/h4>\n<p>BuildKit \u652f\u6301\u5e76\u884c\u6784\u5efa&#xff0c;\u53ef\u4ee5\u540c\u65f6\u6267\u884c\u591a\u4e2a\u6b65\u9aa4&#xff0c;\u8fd9\u663e\u8457\u7f29\u77ed\u4e86\u6784\u5efa\u65f6\u95f4\u3002\u4f20\u7edf\u7684 Docker \u6784\u5efa\u662f\u6309\u987a\u5e8f\u6267\u884c\u6bcf\u4e00\u6b65&#xff0c;\u800c BuildKit \u5219\u53ef\u4ee5\u5206\u6790\u4f9d\u8d56\u5173\u7cfb&#xff0c;\u5e76\u884c\u5904\u7406\u72ec\u7acb\u7684\u4efb\u52a1\u3002<\/p>\n<h4>\u7f13\u5b58\u7ba1\u7406<\/h4>\n<p>BuildKit \u63d0\u4f9b\u4e86\u66f4\u667a\u80fd\u7684\u7f13\u5b58\u7ba1\u7406\u673a\u5236&#xff0c;\u53ef\u4ee5\u8de8\u6784\u5efa\u5171\u4eab\u7f13\u5b58&#xff0c;\u51cf\u5c11\u4e86\u91cd\u590d\u4e0b\u8f7d\u548c\u91cd\u590d\u6784\u5efa\u7684\u5f00\u9500\u3002\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u6784\u5efa\u6b65\u9aa4\u4e4b\u95f4\u5171\u4eab\u4e2d\u95f4\u7ed3\u679c&#xff0c;\u5927\u5e45\u63d0\u5347\u6784\u5efa\u6548\u7387\u3002<\/p>\n<h4>\u53ef\u6269\u5c55\u6027<\/h4>\n<p>BuildKit \u7684\u8bbe\u8ba1\u9ad8\u5ea6\u6a21\u5757\u5316&#xff0c;\u53ef\u4ee5\u8f7b\u677e\u6269\u5c55\u548c\u5b9a\u5236\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u7279\u5b9a\u9700\u6c42\u6dfb\u52a0\u65b0\u7684\u6784\u5efa\u529f\u80fd\u548c\u7279\u6027&#xff0c;\u4f7f\u5176\u66f4\u52a0\u7075\u6d3b\u548c\u5f3a\u5927\u3002<\/p>\n<h4>\u5b89\u5168\u6027<\/h4>\n<p>BuildKit \u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u652f\u6301&#xff0c;\u4f8b\u5982\u5185\u8054\u6784\u5efa\u79d8\u5bc6&#xff08;build secrets&#xff09;\u548c\u5185\u8054 SSH \u5bc6\u94a5&#xff0c;\u4f7f\u5f97\u654f\u611f\u4fe1\u606f\u5728\u6784\u5efa\u8fc7\u7a0b\u4e2d\u4e0d\u6613\u6cc4\u9732\u3002<\/p>\n<h4>\u8de8\u5e73\u53f0\u652f\u6301<\/h4>\n<p>BuildKit \u539f\u751f\u652f\u6301\u591a\u5e73\u53f0\u6784\u5efa&#xff0c;\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u67b6\u6784\u4e0a\u751f\u6210\u955c\u50cf\u3002\u4f8b\u5982&#xff0c;\u53ef\u4ee5\u5728 x86 \u5e73\u53f0\u4e0a\u6784\u5efa ARM \u955c\u50cf&#xff0c;\u6781\u5927\u5730\u65b9\u4fbf\u4e86\u8de8\u5e73\u53f0\u5e94\u7528\u7684\u5f00\u53d1\u548c\u90e8\u7f72\u3002<\/p>\n<\/p>\n<h3>\u4e0e Docker \u7684\u6bd4\u8f83<\/h3>\n<h4>\u6784\u5efa\u901f\u5ea6<\/h4>\n<p>\u4f7f\u7528 BuildKit \u53ef\u4ee5\u663e\u8457\u63d0\u5347\u955c\u50cf\u6784\u5efa\u901f\u5ea6&#xff0c;\u5c24\u5176\u662f\u5728\u5904\u7406\u590d\u6742\u7684\u591a\u6b65\u9aa4\u6784\u5efa\u4efb\u52a1\u65f6&#xff0c;\u5f97\u76ca\u4e8e\u5176\u5e76\u884c\u5904\u7406\u548c\u9ad8\u7ea7\u7f13\u5b58\u673a\u5236\u3002<\/p>\n<h4>\u955c\u50cf\u5927\u5c0f<\/h4>\n<p>BuildKit \u7684\u9ad8\u7ea7\u4f18\u5316\u6280\u672f\u53ef\u4ee5\u751f\u6210\u66f4\u5c0f\u3001\u66f4\u9ad8\u6548\u7684\u955c\u50cf&#xff0c;\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u6587\u4ef6\u548c\u5c42\u7ea7&#xff0c;\u4f7f\u5f97\u955c\u50cf\u66f4\u7cbe\u7b80\u3002<\/p>\n<h4>\u6784\u5efa\u8fc7\u7a0b\u4e2d\u7684\u5b89\u5168\u6027<\/h4>\n<p>\u76f8\u6bd4 Docker \u7684\u4f20\u7edf\u6784\u5efa\u65b9\u5f0f&#xff0c;BuildKit \u63d0\u4f9b\u4e86\u66f4\u5b89\u5168\u7684\u6784\u5efa\u73af\u5883&#xff0c;\u901a\u8fc7\u652f\u6301\u6784\u5efa\u79d8\u5bc6\u548c\u5185\u8054 SSH \u5bc6\u94a5&#xff0c;\u786e\u4fdd\u654f\u611f\u6570\u636e\u7684\u5b89\u5168\u6027\u3002<\/p>\n<h3 style=\"background-color:transparent\">\u5b89\u88c5\u4f7f\u7528<\/h3>\n<h4>\u4e0b\u8f7dbuildkit<\/h4>\n<p># \u4e0b\u8f7d\u6587\u4ef6<br \/>\nwget https:\/\/github.com\/moby\/buildkit\/releases\/download\/v0.15.1\/buildkit-v0.15.1.linux-amd64.tar.gz<br \/>\n# \u521b\u5efa\u89e3\u538b\u7684\u76ee\u5f55<br \/>\nmkdir \/usr\/local\/buildkit<br \/>\n# \u89e3\u538b\u5230\u6307\u5b9a\u7684\u76ee\u5f55<br \/>\ntar -xf buildkit-v0.15.1.linux-amd64.tar.gz -C \/usr\/local\/buildkit<\/p>\n<h4>\u4fee\u6539PATH\u73af\u5883\u53d8\u91cf<\/h4>\n<p># \u6ce8\u610f\u8fd9\u91cc\u7684echo \u8981\u4f7f\u7528\u5355\u5f15\u53f7&#xff0c;\u5355\u5f15\u53f7\u4f1a\u539f\u6837\u8f93\u51fa&#xff0c;\u53cc\u5f15\u53f7\u4f1a\u89e3\u6790\u53d8\u91cf<\/p>\n<p>echo &#039;export PATH&#061;\/usr\/local\/buildkit\/bin:$PATH&#039; &gt;&gt; \/etc\/profile<br \/>\n# \u6ce8\u610f\u8fd9\u91cc\u7684echo \u8981\u4f7f\u7528\u5355\u5f15\u53f7&#xff0c;\u5355\u5f15\u53f7\u4f1a\u539f\u6837\u8f93\u51fa&#xff0c;\u53cc\u5f15\u53f7\u4f1a\u89e3\u6790\u53d8\u91cf<br \/>\nsource \/etc\/profile  # \u4f7f\u521a\u624d\u914d\u7f6e\u751f\u6548 <\/p>\n<h4>\u521b\u5efabuildkitd\u81ea\u542f\u52a8\u670d\u52a1<\/h4>\n<p>cat &lt;&lt;EOF &gt; \/usr\/lib\/systemd\/system\/buildkitd.service<br \/>\n[Unit]<br \/>\nDescription&#061;buildkitd<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nExecStart&#061;\/usr\/local\/buildkit\/bin\/buildkitd<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<br \/>\nEOF<\/p>\n<p># \u91cd\u65b0\u52a0\u8f7dUnit file<br \/>\nsystemctl daemon-reload<br \/>\n# \u542f\u52a8\u670d\u52a1<br \/>\nsystemctl start buildkitd<br \/>\n# \u5f00\u673a\u81ea\u542f\u52a8<br \/>\nsystemctl enable buildkitd<\/p>\n<h5>\u4f7f\u7528\u4e0b\u9762\u7684Dockerfile\u6784\u5efa\u955c\u50cf<\/h5>\n<p># \u5c06\u8f93\u51fa\u5bfc\u51fa\u5230\u672c\u5730tar\u5305<br \/>\n# &#8211;local \u7528\u4e8e\u5c06\u672c\u5730\u6587\u4ef6\u66b4\u9732\u7ed9builder&#xff0c; context\u4e3a\u6784\u5efa\u7684\u4e0a\u4e0b\u6587\u73af\u5883&#xff0c;dockerfile\u4e3adockerfile\u6587\u4ef6\u4f4d\u7f6e<br \/>\n# &#8211;frontend \u662f\u8fd0\u884c\u5728BuildKit\u5185\u90e8\u7684\u7ec4\u4ef6&#xff0c;\u5e76\u5c06\u6784\u5efa\u7684\u5b9a\u4e49\u8f6c\u4e3aLLB&#xff0c;\u540c\u65f6frontend\u4e5f\u662fBuildKit\u955c\u50cfrepo\u6e90<br \/>\nbuildctl build \\\\<br \/>\n&#8211;frontend&#061;dockerfile.v0 \\\\<br \/>\n&#8211;local context&#061;. \\\\<br \/>\n&#8211;local dockerfile&#061;. \\\\<br \/>\n&#8211;output type&#061;docker,name&#061;myimage,dest&#061;out.tar<\/p>\n<p># \u53ef\u4ee5\u770b\u5230\u5f53\u524d\u76ee\u5f55\u751f\u6210\u4e86out.tar<br \/>\n[root&#064;master ~]# ls out.tar<br \/>\nout.tar<\/p>\n<p># \u5c06out.tar\u5bfc\u5165\u5230containerd\u4e2d\u7684\u67d0\u4e2a\u547d\u540d\u7a7a\u95f4\u4e0b<br \/>\nctr -n test image import out.tar<\/p>\n<p># \u67e5\u770b\u955c\u50cf<br \/>\n[root&#064;master ~]# ctr -n test image ls<br \/>\nREF                              TYPE                                                 DIGEST                                                                  SIZE    PLATFORMS   LABELS<br \/>\ndocker.io\/library\/myimage:latest application\/vnd.docker.distribution.manifest.v2&#043;json sha256:27817447c583499d123a6a84880f04219bc201042b2ca723587a769151e2dece 3.2 MiB linux\/amd64 &#8211;<br \/>\n# \u4e5f\u53ef\u4ee5\u76f4\u63a5\u5c06\u751f\u6210\u7684\u955c\u50cf\u5bfc\u5165\u8fdbcontainerd<br \/>\n[root&#064;master ~]# buildctl build &#8211;frontend&#061;dockerfile.v0 &#8211;local context&#061;. &#8211;local dockerfile&#061;. &#8211;output type&#061;docker,name&#061;myimage1 | ctr -n test image import &#8211;<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf8\u6b21\u3002BuildKit \u662f\u7531 Moby \u9879\u76ee\u63a8\u51fa\u7684\u4e00\u4e2a\u65b0\u578b\u6784\u5efa\u5f15\u64ce\uff0c\u65e8\u5728\u63d0\u5347\u5bb9\u5668\u955c\u50cf\u6784\u5efa\u7684\u901f\u5ea6\u3001\u6548\u7387\u548c\u5b89\u5168\u6027\u3002\u5b83\u6700\u521d\u4f5c\u4e3a Docker \u5f15\u64ce\u7684\u53ef\u9009\u7ec4\u4ef6\u5f15\u5165\uff0c\u4f46\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u73b0\u4ee3\u5bb9\u5668\u5316\u5e94\u7528\u6784\u5efa\u7684\u9996\u9009\u5de5\u5177\u4e4b\u4e00\u3002_buildkit<\/p>\n","protected":false},"author":2,"featured_media":31509,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,120,58,43],"topic":[],"class_list":["post-31510","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-docker","tag-kubernetes","tag-linux","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/31510.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf8\u6b21\u3002BuildKit \u662f\u7531 Moby \u9879\u76ee\u63a8\u51fa\u7684\u4e00\u4e2a\u65b0\u578b\u6784\u5efa\u5f15\u64ce\uff0c\u65e8\u5728\u63d0\u5347\u5bb9\u5668\u955c\u50cf\u6784\u5efa\u7684\u901f\u5ea6\u3001\u6548\u7387\u548c\u5b89\u5168\u6027\u3002\u5b83\u6700\u521d\u4f5c\u4e3a Docker \u5f15\u64ce\u7684\u53ef\u9009\u7ec4\u4ef6\u5f15\u5165\uff0c\u4f46\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u73b0\u4ee3\u5bb9\u5668\u5316\u5e94\u7528\u6784\u5efa\u7684\u9996\u9009\u5de5\u5177\u4e4b\u4e00\u3002_buildkit\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/31510.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-21T06:31:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421063102-6805e626b0924.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31510.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/31510.html\",\"name\":\"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-21T06:31:03+00:00\",\"dateModified\":\"2025-04-21T06:31:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/31510.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/31510.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31510.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/31510.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.2k\u6b21\uff0c\u70b9\u8d5e5\u6b21\uff0c\u6536\u85cf8\u6b21\u3002BuildKit \u662f\u7531 Moby \u9879\u76ee\u63a8\u51fa\u7684\u4e00\u4e2a\u65b0\u578b\u6784\u5efa\u5f15\u64ce\uff0c\u65e8\u5728\u63d0\u5347\u5bb9\u5668\u955c\u50cf\u6784\u5efa\u7684\u901f\u5ea6\u3001\u6548\u7387\u548c\u5b89\u5168\u6027\u3002\u5b83\u6700\u521d\u4f5c\u4e3a Docker \u5f15\u64ce\u7684\u53ef\u9009\u7ec4\u4ef6\u5f15\u5165\uff0c\u4f46\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u73b0\u4ee3\u5bb9\u5668\u5316\u5e94\u7528\u6784\u5efa\u7684\u9996\u9009\u5de5\u5177\u4e4b\u4e00\u3002_buildkit","og_url":"https:\/\/www.wsisp.com\/helps\/31510.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-21T06:31:03+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250421063102-6805e626b0924.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/31510.html","url":"https:\/\/www.wsisp.com\/helps\/31510.html","name":"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-21T06:31:03+00:00","dateModified":"2025-04-21T06:31:03+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/31510.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/31510.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/31510.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6784\u5efa\u5bb9\u5668\u955c\u50cf\u5229\u5668\uff1aBuildKit\u5b89\u88c5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=31510"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31510\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/31509"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=31510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=31510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=31510"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=31510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}