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 \ llvm \
scons scons
ARG username RUN useradd rt
RUN useradd $username USER rt
USER $username

View File

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