diff --git a/Dockerfile b/Dockerfile index 1f02ff3..d8182a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,8 +47,8 @@ COPY bugsink/conf_templates/docker.py.template bugsink_conf.py RUN apt update && apt install -y git RUN pip install -e . -RUN groupadd -r bugsink \ - && useradd -r -g bugsink bugsink \ +RUN groupadd --gid 14237 bugsink \ + && useradd --uid 14237 --gid bugsink \ && mkdir -p /data \ && chown -R bugsink:bugsink /data diff --git a/Dockerfile.fromwheel b/Dockerfile.fromwheel index 476011b..882e09d 100644 --- a/Dockerfile.fromwheel +++ b/Dockerfile.fromwheel @@ -73,8 +73,8 @@ RUN --mount=type=cache,target=/var/cache/buildkit/pip \ COPY bugsink/conf_templates/docker.py.template bugsink_conf.py COPY gunicorn.docker.conf.py /app/ -RUN groupadd -r bugsink \ - && useradd -r -g bugsink bugsink \ +RUN groupadd --gid 14237 bugsink \ + && useradd --uid 14237 --gid bugsink \ && mkdir -p /data \ && chown -R bugsink:bugsink /data