Skip to content

Commit

Permalink
remove extraneous slashses (#727)
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Brown <brown.joseph@salesforce.com>
  • Loading branch information
AidanDelaney committed Jun 13, 2024
1 parent 2fbcdff commit 5d3998f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ <h2 id="define-a-build-base-image-for-your-cnb-build">Define a build base image
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="c"># Install packages that we want to make available at build time</span><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="k">RUN</span> apt-get update <span class="o">&amp;&amp;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> apt-get install -y xz-utils ca-certificates <span class="o">&amp;&amp;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> rm -rf /var/lib/apt/lists/* <span class="err">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> rm -rf /var/lib/apt/lists/*<span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="c"># Set required CNB user information</span><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="k">ARG</span> <span class="nv">cnb_uid</span><span class="o">=</span><span class="m">1000</span>
Expand All @@ -918,7 +918,7 @@ <h2 id="define-a-build-base-image-for-your-cnb-build">Define a build base image
</span></span></span><span class="line"><span class="cl"><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="c"># Create user and group</span><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="k">RUN</span> groupadd cnb --gid <span class="si">${</span><span class="nv">CNB_GROUP_ID</span><span class="si">}</span> <span class="o">&amp;&amp;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> useradd --uid <span class="si">${</span><span class="nv">CNB_USER_ID</span><span class="si">}</span> --gid <span class="si">${</span><span class="nv">CNB_GROUP_ID</span><span class="si">}</span> -m -s /bin/bash cnb <span class="err">\
</span></span></span><span class="line"><span class="cl"><span class="se"></span> useradd --uid <span class="si">${</span><span class="nv">CNB_USER_ID</span><span class="si">}</span> --gid <span class="si">${</span><span class="nv">CNB_GROUP_ID</span><span class="si">}</span> -m -s /bin/bash cnb<span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="c"># Set user and group</span><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="k">USER</span><span class="s"> ${CNB_USER_ID}:${CNB_GROUP_ID}</span><span class="err">
Expand Down

0 comments on commit 5d3998f

Please sign in to comment.