add a docker user, with the standard uid, gid used to mount 9p fs, as that is what some scripts expect

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack 2015-12-14 18:16:45 +00:00
parent 6d0d3616a7
commit 0bb657c627

View File

@ -4,7 +4,11 @@ MAINTAINER Justin Cormack <justin.cormack@unikernel.com>
COPY repositories /etc/apk/ COPY repositories /etc/apk/
RUN apk update && apk upgrade && apk add \ RUN \
addgroup -g 50 docker && \
adduser -G docker -u 1001 -S -g "Docker" docker && \
apk update && apk upgrade && \
apk add \
e2fsprogs docker chrony \ e2fsprogs docker chrony \
sfdisk lvm2 syslinux sfdisk lvm2 syslinux