summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/template.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker/template.Dockerfile')
-rw-r--r--pkg/docker/template.Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile
index 4ff6ee05..36b2db1e 100644
--- a/pkg/docker/template.Dockerfile
+++ b/pkg/docker/template.Dockerfile
@@ -58,9 +58,9 @@ RUN set -ex \
&& @@RUN@@ \
&& mkdir -p /var/lib/unit/ \
&& mkdir /docker-entrypoint.d/ \
- && groupadd --system unit \
+ && groupadd --gid 999 unit \
&& useradd \
- --system \
+ --uid 999 \
--gid unit \
--no-create-home \
--home /nonexistent \