Skip to content
Permalink
Browse files

Fix adduser/addgroup

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information...
alexellis committed Aug 22, 2019
1 parent cdfa012 commit d272bfb78114593f68dd0c582936bcd73bd5a3ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 sample-functions/Phantomjs/Dockerfile
@@ -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

0 comments on commit d272bfb

Please sign in to comment.
You can’t perform that action at this time.