osmith has uploaded this change for review.

View Change

debian-bookworm-titan: chown 1000 for deps

Change the ownership of the "deps" directory to a not yet created user
with the ID 1000. This user gets created when the gerrit verifications
use the container for building. Changing the ownership of the deps
directory allows using them and updating them as needed (e.g. if the
patch in review changes a commit of one of the deps).

Chowning here once results in faster jobs, compared to if we did it
every time the gerrit verifications job ran.

Creating the user here would result in conflicts with other containers
depending on debian-bookworm-titan that may create their own user with
the same UID.

Related: osmo-ci I4bea336097e8180b19b3afa41c0b984d93c21bd1
Change-Id: Id51885d0929f4966b1a4a181b3453c06d7956b53
---
M debian-bookworm-titan/Dockerfile
1 file changed, 2 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/27/38227/1
diff --git a/debian-bookworm-titan/Dockerfile b/debian-bookworm-titan/Dockerfile
index c4af2ef..b4c5f75 100644
--- a/debian-bookworm-titan/Dockerfile
+++ b/debian-bookworm-titan/Dockerfile
@@ -78,4 +78,5 @@
cd /osmo-ttcn3-hacks && \
git pull && \
make -j8 deps; \
- fi
+ fi && \
+ chown -R 1000:1000 /osmo-ttcn3-hacks/deps

To view, visit change 38227. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Id51885d0929f4966b1a4a181b3453c06d7956b53
Gerrit-Change-Number: 38227
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>