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:
Sreejith Punnapuzha 2020-10-28 15:38:02 -05:00
parent f16bd23f21
commit d34c3283ff

View File

@ -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.vendor='The Airship Authors' \
org.opencontainers.image.licenses='Apache-2.0' org.opencontainers.image.licenses='Apache-2.0'
RUN adduser --disabled-password bootstrap RUN useradd -m bootstrap
USER bootstrap USER bootstrap
WORKDIR /home/bootstrap WORKDIR /home/bootstrap