From 77331352bc3192e7edb72f347353d3538b75f114 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 2 Apr 2015 11:48:15 +0200 Subject: create a group too --- packaging/docker/catlfish-dev/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'packaging/docker/catlfish-dev') diff --git a/packaging/docker/catlfish-dev/Dockerfile b/packaging/docker/catlfish-dev/Dockerfile index 5d0004a..6c5c72e 100644 --- a/packaging/docker/catlfish-dev/Dockerfile +++ b/packaging/docker/catlfish-dev/Dockerfile @@ -46,11 +46,9 @@ RUN make -C catlfish PREFIX=/usr/local all release VOLUME /usr/local/etc/catlfish VOLUME /var/local/db/catlfish -RUN chgrp daemon /var/local/db/catlfish -RUN chmod 775 /var/local/db/catlfish - # Don't run as root. -RUN useradd --uid 147 catlfish +RUN groupadd --gid 147 catlfish +RUN useradd --uid 147 --gid 147 catlfish USER catlfish # Working has to be where catlfish.config is. We want to run in -- cgit v1.1