<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">e-mial was recalled.... did you figure
it out?</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Scott</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2020-10-29 10:10 a.m., Chen,
Haochuan Z wrote:<br>
</div>
<blockquote type="cite" cite="mid:BYAPR11MB323893B3905C0B9590948BB7A2140@BYAPR11MB3238.namprd11.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div style="border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt
2.0pt">
<p class="MsoNormal" style="line-height:12.0pt;background:#FFEB9C"><b><span style="font-size:10.0pt;color:#9C6500"></span></b><span style="font-size:10.0pt;color:red">[Please note this e-mail
is from an EXTERNAL e-mail address]<o:p></o:p></span></p>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi scott<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I read this doc<o:p></o:p></p>
<p class="MsoNormal"><a class="moz-txt-link-freetext" href="https://opendev.org/starlingx/docs/src/branch/master/doc/source/developer_resources/build_docker_image.rst">https://opendev.org/starlingx/docs/src/branch/master/doc/source/developer_resources/build_docker_image.rst</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To build starling image, must build base
image firstly? Is there any image on dock hub, I could pull
and set as base in this command<o:p></o:p></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">OS=centos<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">BUILD_STREAM=stable<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">BRANCH=master<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">CENTOS_BASE=starlingx/stx-centos:${BRANCH}-${BUILD_STREAM}-latest<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">WHEELS=http:</span><span style="font-size:10.0pt;font-family:Consolas;color:#009926;border:none
windowtext 1.0pt;padding:0in">//mirror</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_docker_image_build/outputs/wheels//stx-centos-${BUILD_STREAM}-wheels.tar<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">DOCKER_USER=${USER}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">DOCKER_REGISTRY=</span><span style="font-size:10.0pt;font-family:Consolas;color:teal;border:none
windowtext 1.0pt;padding:0in">192.168</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">.</span><span style="font-size:10.0pt;font-family:Consolas;color:teal;border:none
windowtext 1.0pt;padding:0in">0</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">.</span><span style="font-size:10.0pt;font-family:Consolas;color:teal;border:none
windowtext 1.0pt;padding:0in">1</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">:</span><span style="font-size:10.0pt;font-family:Consolas;color:teal;border:none
windowtext 1.0pt;padding:0in">9001</span><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">
</span><i><span style="font-size:10.0pt;font-family:Consolas;color:#999988;border:none
windowtext 1.0pt;padding:0in"># Some private registry
you've setup for your testing, for example</span></i><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><b><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">time</span></b><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in">
$MY_REPO/build-tools/build-docker-images/build-stx-images.sh
\<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --os centos \<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --stream ${BUILD_STREAM}
\<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --base ${CENTOS_BASE} \<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --wheels ${WHEELS} \<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --user ${DOCKER_USER}
--registry ${DOCKER_REGISTRY} \<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --<b>push</b> --latest \<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#F7F7F7"><span style="font-size:10.0pt;font-family:Consolas;color:#333333;border:none
windowtext 1.0pt;padding:0in"> --clean</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Martin, Chen<o:p></o:p></p>
<p class="MsoNormal">IOTG, Software Engineer<o:p></o:p></p>
<p class="MsoNormal">021-61164330<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>