codegen: fix for users with large uids
This commit is contained in:
parent
85b0a47fe8
commit
ffdd693ff6
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ FROM golang:1.17
|
||||||
ARG USER=$USER
|
ARG USER=$USER
|
||||||
ARG UID=$UID
|
ARG UID=$UID
|
||||||
ARG GID=$GID
|
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}
|
USER ${UID}:${GID}
|
||||||
|
|
||||||
ARG KUBE_VERSION
|
ARG KUBE_VERSION
|
||||||
|
|
Loading…
Reference in a new issue