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 <sreejith.punnapuzha@outlook.com>
This commit is contained in:
parent
f16bd23f21
commit
d34c3283ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user