From 5048005fc1c16da07484956bd69d29c3fb576628 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 19 Feb 2026 15:51:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(tilt)=20use=20the=20same=20user=20?= =?UTF-8?q?as=20in=20production=20to=20facilitate=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the same user as in production to facilitate local testing with the production image. Assign group 127 to the docker user to mirror CI and match production practices, even though the rationale for this group mapping is unclear. --- bin/Tiltfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/Tiltfile b/bin/Tiltfile index b468b48e..51e11df0 100644 --- a/bin/Tiltfile +++ b/bin/Tiltfile @@ -18,6 +18,7 @@ docker_build( 'localhost:5001/meet-backend:latest', context='..', dockerfile='../Dockerfile', + build_args={'DOCKER_USER': '1001:127'}, only=['./src/backend', './src/mail', './docker'], target = 'backend-production', live_update=[ @@ -33,6 +34,7 @@ clean_old_images('localhost:5001/meet-backend') docker_build( 'localhost:5001/meet-frontend-dinum:latest', context='..', + build_args={'DOCKER_USER': '1001:127'}, dockerfile='../docker/dinum-frontend/Dockerfile', only=['./src/frontend', './docker', './.dockerignore'], target = 'frontend-production', @@ -57,6 +59,7 @@ clean_old_images('localhost:5001/meet-frontend-generic') docker_build( 'localhost:5001/meet-summary:latest', context='../src/summary', + build_args={'DOCKER_USER': '1001:127'}, dockerfile='../src/summary/Dockerfile', only=['.'], target = 'production', @@ -69,6 +72,7 @@ clean_old_images('localhost:5001/meet-summary') docker_build( 'localhost:5001/meet-agents:latest', context='../src/agents', + build_args={'DOCKER_USER': '1001:127'}, dockerfile='../src/agents/Dockerfile', only=['.'], target = 'production',