diff --git a/script/codegen.Dockerfile b/script/codegen.Dockerfile index 0fafcc942..7915cb798 100644 --- a/script/codegen.Dockerfile +++ b/script/codegen.Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.17 ARG USER=$USER ARG UID=$UID ARG GID=$GID -RUN useradd -m ${USER} --uid=${UID} && echo "${USER}:" chpasswd +RUN useradd -l -m ${USER} --uid=${UID} && echo "${USER}:" chpasswd USER ${UID}:${GID} ARG KUBE_VERSION