From 469e41c383204deb2b25911d1fa4d49dfe235dee Mon Sep 17 00:00:00 2001 From: Andy D <8628078+rpigu-i@users.noreply.github.com> Date: Thu, 30 Jul 2020 08:03:02 -0400 Subject: [PATCH] Update Dockerfile with newest one Updated to reflect the Alpine addgroup method. --- chapter12/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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