diff --git a/chapter12/Dockerfile b/chapter12/Dockerfile index 7b9f39ef..3c6a9e32 100644 --- a/chapter12/Dockerfile +++ b/chapter12/Dockerfile @@ -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