mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 08:25:03 +00:00
Fix adduser/addgroup
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
cdfa01208d
commit
d272bfb781
@ -7,7 +7,7 @@ RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
ENV fprocess="phantomjs /dev/stdin"
|
||||
|
||||
RUN addgroup -g 1000 -S app && adduser -u 1000 -S app -G app
|
||||
RUN adduser --uid 1000 --group app
|
||||
USER 1000
|
||||
|
||||
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user