mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
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:
parent
6d0d3616a7
commit
0bb657c627
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user