add uid & gid
This commit is contained in:
parent
272f91605a
commit
7dcef20364
@ -12,8 +12,8 @@ COPY --from=builder /craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar
|
|||||||
|
|
||||||
RUN apk add --no-cache openjdk8 libressl
|
RUN apk add --no-cache openjdk8 libressl
|
||||||
|
|
||||||
RUN addgroup minecraft
|
RUN addgroup minecraft -g 2222
|
||||||
RUN adduser -h /var/lib/minecraft -D -G minecraft minecraft
|
RUN adduser -u 2222 -h /var/lib/minecraft -D -G minecraft minecraft
|
||||||
|
|
||||||
RUN mkdir -p /etc/services.d/minecraft/
|
RUN mkdir -p /etc/services.d/minecraft/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user