summaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ee12922f2..82980101b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -85,3 +85,7 @@ COPY --from=build-env /go/bin/* /usr/local/bin/
# For compat with the previous run.sh, although ideally you should be
# using build_docker.sh which sets an entrypoint for the image.
RUN mkdir /tailscale && ln -s /usr/local/bin/containerboot /tailscale/run.sh
+RUN addgroup mygroup && \
+ adduser -D -G mygroup insecure && \
+ adduser -D -G mygroup xinsecure && \
+ adduser -D -G mygroup Xinsecure