You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
19 KiB
JavaScript

12 months ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[8559],{7485:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>t,contentTitle:()=>c,default:()=>h,frontMatter:()=>i,metadata:()=>d,toc:()=>l});var o=r(5893),s=r(1151);r(4996);const i={id:"deploy-docker-auto",title:"35.1 Docker \u73af\u5883\u6301\u7eed\u90e8\u7f72",sidebar_label:"35.1 Docker \u73af\u5883\u6301\u7eed\u90e8\u7f72"},c=void 0,d={id:"deploy-docker-auto",title:"35.1 Docker \u73af\u5883\u6301\u7eed\u90e8\u7f72",description:"35.1.1 \u5173\u4e8e\u5168 Docker \u73af\u5883\u90e8\u7f72",source:"@site/docs/deploy-docker-auto.mdx",sourceDirName:".",slug:"/deploy-docker-auto",permalink:"/docs/deploy-docker-auto",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/deploy-docker-auto.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1653889755,formattedLastUpdatedAt:"May 30, 2022",frontMatter:{id:"deploy-docker-auto",title:"35.1 Docker \u73af\u5883\u6301\u7eed\u90e8\u7f72",sidebar_label:"35.1 Docker \u73af\u5883\u6301\u7eed\u90e8\u7f72"},sidebar:"docs",previous:{title:"35. \u6301\u7eed\u90e8\u7f72\u96c6\u6210",permalink:"/docs/category/devops"},next:{title:"35.2 \u6301\u7eed\u90e8\u7f72\u96c6\u6210",permalink:"/docs/devops"}},t={},l=[{value:"35.1.1 \u5173\u4e8e\u5168 <code>Docker</code> \u73af\u5883\u90e8\u7f72",id:"3511-\u5173\u4e8e\u5168-docker-\u73af\u5883\u90e8\u7f72",level:2},{value:"35.1.2 \u5b89\u88c5 <code>Docker</code> \u7248 <code>Jenkins</code>",id:"3512-\u5b89\u88c5-docker-\u7248-jenkins",level:2},{value:"35.1.2.1 \u4f7f\u7528 Dockerfile \u5236\u4f5c\u955c\u50cf",id:"35121-\u4f7f\u7528-dockerfile-\u5236\u4f5c\u955c\u50cf",level:3},{value:"35.1.2.2 \u8fd0\u884c <code>Jenkins:dotnet</code> \u955c\u50cf",id:"35122-\u8fd0\u884c-jenkinsdotnet-\u955c\u50cf",level:3},{value:"35.1.3 <code>Jenkins</code> \u7684\u81ea\u52a8\u5316\u90e8\u7f72",id:"3513-jenkins-\u7684\u81ea\u52a8\u5316\u90e8\u7f72",level:2},{value:"35.1.3.1 \u7f16\u5199 Shell \u811a\u672c",id:"35131-\u7f16\u5199-shell-\u811a\u672c",level:3},{value:"35.1.4 <code>Jenkins</code> \u7684\u81ea\u52a8\u5316\u8fdc\u7a0b\u90e8\u7f72",id:"3514-jenkins-\u7684\u81ea\u52a8\u5316\u8fdc\u7a0b\u90e8\u7f72",level:2},{value:"35.1.4.1 \u5b89\u88c5\u63d2\u4ef6",id:"35141-\u5b89\u88c5\u63d2\u4ef6",level:3},{value:"35.1.4.2 \u914d\u7f6e",id:"35142-\u914d\u7f6e",level:3},{value:"35.1.4.3 \u5199\u811a\u672c",id:"35143-\u5199\u811a\u672c",level:3},{value:"35.1.4.4 \u6784\u5efa\u540e\u64cd\u4f5c\uff08\u5173\u952e\uff09",id:"35144-\u6784\u5efa\u540e\u64cd\u4f5c\u5173\u952e",level:3},{value:"35.1.4.5 \u8fdc\u7a0b\u6267\u884c",id:"35145-\u8fdc\u7a0b\u6267\u884c",level:3},{value:"35.1.5 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"3515-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(n.h2,{id:"3511-\u5173\u4e8e\u5168-docker-\u73af\u5883\u90e8\u7f72",children:["35.1.1 \u5173\u4e8e\u5168 ",(0,o.jsx)(n.code,{children:"Docker"})," \u73af\u5883\u90e8\u7f72"]}),"\n",(0,o.jsxs)(n.p,{children:["\u5229\u7528\u62e5\u6709 ",(0,o.jsx)(n.code,{children:".NET"})," \u73af\u5883\u7684 ",(0,o.jsx)(n.code,{children:"Jenkins"}),"\uff0c\u8fdb\u884c\u6301\u7eed\u5316\u90e8\u7f72"]}),"\n",(0,o.jsxs)(n.h2,{id:"3512-\u5b89\u88c5-docker-\u7248-jenkins",children:["35.1.2 \u5b89\u88c5 ",(0,o.jsx)(n.code,{children:"Docker"})," \u7248 ",(0,o.jsx)(n.code,{children:"Jenkins"})]}),"\n",(0,o.jsxs)(n.p,{children:["\u6b63\u5e38\u5728 ",(0,o.jsx)(n.code,{children:"Docker"})," \u4e2d\u62c9\u53d6\u7684 ",(0,o.jsx)(n.code,{children:"Jenkins:lts"})," \u662f\u65e0\u6cd5\u6267\u884c ",(0,o.jsx)(n.code,{children:"dotnet"})," \u547d\u4ee4\u7684\uff08\u5c31\u7b97\u4f60\u5bbf\u4e3b\u673a\u6709 ",(0,o.jsx)(n.code,{children:"dotnet"})," \u73af\u5883\u3001",(0,o.jsx)(n.code,{children:"docker"})," \u4e2d\u4e5f\u6709 ",(0,o.jsx)(n.code,{children:"dotnet"})," \u73af\u5883\u4e5f\u4e0d\u53ef\u4ee5\uff09\uff0c\r\n\u6240\u4ee5\u