Skip to content

Commit

Permalink
Update Dockerfile with newest one
Browse files Browse the repository at this point in the history
Updated to reflect the Alpine addgroup method.
  • Loading branch information
rpigu-i authored Jul 30, 2020
1 parent ade6ea0 commit 469e41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine

RUN groupadd -r secureusers && useradd -r -g secureusers secureuser
RUN addgroup -S secureusers && adduser -S secureuser -G secureusers

#Execute any root commands prior to needing to switch users

Expand Down

0 comments on commit 469e41c

Please sign in to comment.