From d34c3283ffb5241ad34bf9a969632504eb72d235 Mon Sep 17 00:00:00 2001 From: Sreejith Punnapuzha Date: Wed, 28 Oct 2020 15:38:02 -0500 Subject: [PATCH] Change user creation from adduser to useradd This commit changes user creation from adduser to useradd so that docker build will not wait for user information Change-Id: Ia0d24be8139a97cb51e15456176c172974a56c3a Signed-off-by: Sreejith Punnapuzha --- bootstrap_capg/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap_capg/Dockerfile b/bootstrap_capg/Dockerfile index f03a014..6b92cad 100644 --- a/bootstrap_capg/Dockerfile +++ b/bootstrap_capg/Dockerfile @@ -40,7 +40,7 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc org.opencontainers.image.vendor='The Airship Authors' \ org.opencontainers.image.licenses='Apache-2.0' -RUN adduser --disabled-password bootstrap +RUN useradd -m bootstrap USER bootstrap WORKDIR /home/bootstrap