Skip to content

πŸ™Œ OpenHands: AI-Driven Development

set a higer UID_MAX (#1788)

Robert Brennan135320861c01
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 && \