Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

alpine add user

FROM alpine:latest

# Create a group and user
RUN addgroup -S appgroup && adduser -S appuser -G appgroup

# Tell docker that all future commands should run as the appuser user
USER appuser
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #alpine #add #user
ADD COMMENT
Topic
Name
9+3 =