From 14c55c790c41dd3d4a427791db85c022ea60b9ac Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Wed, 8 Jan 2025 12:21:42 -0500 Subject: [PATCH] fix: use 1001 uid to be consistent with gha checkout logic --- debian/Dockerfile | 2 +- ubuntu/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/Dockerfile b/debian/Dockerfile index acf8edc..9a74955 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND="noninteractive" ARG PACKAGES=${PACKAGES:-sudo} RUN apt update -qq && apt install --no-install-recommends -y $PACKAGES -RUN useradd -m -u 1000 regolith && \ +RUN useradd -m -u 1001 regolith && \ adduser regolith sudo && \ echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index bf748b9..a601779 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -7,7 +7,7 @@ ARG PACKAGES=${PACKAGES:-sudo} RUN apt update -qq && apt install --no-install-recommends -y $PACKAGES RUN if id ubuntu >/dev/null 2>&1; then userdel -r ubuntu; fi && \ - useradd -m -u 1000 regolith && \ + useradd -m -u 1001 regolith && \ adduser regolith sudo && \ echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers