Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ci: Change github UID from 3434 to 1001.

Anders Kaseorg9f2ac49fb316
diff --git a/tools/ci/Dockerfile b/tools/ci/Dockerfile
index 768c368f170..b06f30c7192 100644
--- a/tools/ci/Dockerfile
+++ b/tools/ci/Dockerfile
@@ -59,8 +59,8 @@ RUN apt-get update \
zlib1g-dev
ARG USERNAME=github
-RUN groupadd --gid 3434 $USERNAME \
- && useradd --uid 3434 --gid $USERNAME --shell /bin/bash --create-home $USERNAME \
+RUN groupadd --gid 1001 $USERNAME \
+ && useradd --uid 1001 --gid $USERNAME --shell /bin/bash --create-home $USERNAME \
&& echo "$USERNAME ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers.d/50-$USERNAME \
&& echo 'Defaults env_keep += "DEBIAN_FRONTEND"' >> /etc/sudoers.d/env_keep