<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/21761">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fpga-build: Create 'build' user like in 'debian-stretch-jenkins'<br><br>Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4<br>---<br>M fpga-build/Dockerfile<br>1 file changed, 4 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/61/21761/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile</span><br><span>index 620657a..8a19dfe 100644</span><br><span>--- a/fpga-build/Dockerfile</span><br><span>+++ b/fpga-build/Dockerfile</span><br><span>@@ -29,8 +29,9 @@</span><br><span> RUN        tar -C /opt -xf /xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}-linux-x64.tar.gz && \</span><br><span>     rm xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}-linux-x64.tar.gz</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-RUN    useradd -m osmocom</span><br><span style="color: hsl(0, 100%, 40%);">-USER  osmocom</span><br><span style="color: hsl(0, 100%, 40%);">-WORKDIR  /home/osmocom</span><br><span style="color: hsl(120, 100%, 40%);">+# match the outside user</span><br><span style="color: hsl(120, 100%, 40%);">+RUN    useradd --uid=1000 build</span><br><span style="color: hsl(120, 100%, 40%);">+RUN   mkdir /build</span><br><span style="color: hsl(120, 100%, 40%);">+RUN       chown build:build /build</span><br><span> </span><br><span> ENV     PATH=/opt/fpga-toolchain/bin:/opt/xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}/bin:${PATH}</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/21761">change 21761</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/docker-playground/+/21761"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4 </div>
<div style="display:none"> Gerrit-Change-Number: 21761 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>