diff --git a/images/build-deps/Dockerfile b/images/build-deps/Dockerfile index ab9050d..416480a 100644 --- a/images/build-deps/Dockerfile +++ b/images/build-deps/Dockerfile @@ -7,12 +7,14 @@ RUN apt-get update &&\ ENV user lg -RUN useradd -m -d /home/${user} ${user} && \ - chown -R ${user} /home/${user} && \ - adduser ${user} sudo && \ - echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers +#RUN useradd -m -d /home/${user} ${user} && \ +# chown -R ${user} /home/${user} && \ +# adduser ${user} sudo && \ +# echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers +#USER ${user} -USER ${user} +RUN mkdir -p /home/${user} + echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers WORKDIR /home/${user}