api: add all users
This commit is contained in:
parent
920e6e7054
commit
809004ecf9
|
@ -1,5 +1,10 @@
|
||||||
FROM node:15.8.0-alpine3.13
|
FROM node:15.8.0-alpine3.13
|
||||||
RUN apk add --no-cache gnupg tar bash coreutils util-linux
|
RUN apk add --no-cache gnupg tar bash coreutils shadow util-linux
|
||||||
|
RUN userdel -r node
|
||||||
|
RUN for i in $(seq 1000 1500); do \
|
||||||
|
groupadd -g $i runner$i && \
|
||||||
|
useradd -M runner$i -g $i -u $i ; \
|
||||||
|
done
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
WORKDIR /piston_api
|
WORKDIR /piston_api
|
||||||
|
|
Loading…
Reference in New Issue