How can I add a user with Dockerfile - the following does not work.
USER vault WORKDIR /usr/local/bin/vault
My full Dockerfile:
<
To add group and to associate a new user, use code below.
FROM RUN groupadd -g 2000 go \ && useradd -m -u 2001 -g go go USER go
OR
RUN addgroup -g 1001 -S appuser && adduser -u 1001 -S appuser -G appuser