remove docker username argument

This commit is contained in:
Chris Copeland 2022-12-24 16:36:54 -08:00
parent 3130cce159
commit 292470d84b
Signed by: chrisnc
GPG Key ID: 14550DA72485DF30
2 changed files with 3 additions and 4 deletions

View File

@ -11,6 +11,5 @@ RUN apt-get update && \
llvm \
scons
ARG username
RUN useradd $username
USER $username
RUN useradd rt
USER rt

View File

@ -5,7 +5,7 @@ set -xe
name="rt"
image="$name-builder"
docker build --tag "$image" --build-arg "username=$name" "$(dirname $0)"
docker build --tag "$image" "$(dirname $0)"
workdir="/home/$name"