<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/23945">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">make: add UID as --build-arg<br><br>Allow to give the user running inside docker the same UID as the user<br>outside.<br><br>Change-Id: I4b3689a626c50c9ac38eca6b5449b8ec0344c3de<br>---<br>M make/Makefile<br>1 file changed, 2 insertions(+), 0 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/45/23945/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/make/Makefile b/make/Makefile</span><br><span>index d2cacf3..3b4ea81 100644</span><br><span>--- a/make/Makefile</span><br><span>+++ b/make/Makefile</span><br><span>@@ -15,6 +15,7 @@</span><br><span> #</span><br><span> REGISTRY_HOST?=docker.io</span><br><span> USERNAME?=$(USER)</span><br><span style="color: hsl(120, 100%, 40%);">+UID=$(shell id -u)</span><br><span> NAME?=$(shell basename $(CURDIR))</span><br><span> LIBOSMOCORE_BRANCH?=master</span><br><span> OSMO_TTCN3_BRANCH?=master</span><br><span>@@ -69,6 +70,7 @@</span><br><span> docker-build: .release</span><br><span>      docker build \</span><br><span>               --build-arg USER=$(USERNAME) \</span><br><span style="color: hsl(120, 100%, 40%);">+                --build-arg UID=$(UID) \</span><br><span>             --build-arg REGISTRY=$(REGISTRY_HOST) \</span><br><span>              --build-arg OSMO_TTCN3_BRANCH=$(OSMO_TTCN3_BRANCH) \</span><br><span>                 --build-arg UPSTREAM_DISTRO=$(UPSTREAM_DISTRO) \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/23945">change 23945</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/+/23945"/><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: I4b3689a626c50c9ac38eca6b5449b8ec0344c3de </div>
<div style="display:none"> Gerrit-Change-Number: 23945 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>