From 135320861c010433fbb0dd0dc680c2847f3d8c27 Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Tue, 14 May 2024 20:28:37 -0400 Subject: [PATCH] set a higer UID_MAX (#1788) Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com> --- containers/app/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/app/Dockerfile b/containers/app/Dockerfile index 9fc2733e59..ed2de39495 100644 --- a/containers/app/Dockerfile +++ b/containers/app/Dockerfile @@ -45,6 +45,7 @@ RUN apt-get update -y \ && apt-get install -y curl ssh sudo RUN sed -i 's/^UID_MIN.*/UID_MIN 499/' /etc/login.defs # Default is 1000, but OSX is often 501 +RUN sed -i 's/^UID_MAX.*/UID_MAX 1000000/' /etc/login.defs # Default is 60000, but we've seen up to 200000 RUN groupadd app RUN useradd -l -m -u $OPENDEVIN_USER_ID -s /bin/bash opendevin && \