Commit 859f6b61 authored by lerma artemix's avatar lerma artemix
Browse files

Fixes problem on directories rights : partemix user is created with uid/gid 1001 in Dockerfile

to follow what is written in documentation
parent 00e5cbed
......@@ -34,7 +34,8 @@ RUN apt-get install -y build-essential \
#RUN npm install -g apidoc
# Add user partemix with no password, add to sudo group
RUN adduser partemix --gecos ""
RUN addgroup partemix --gid 1001
RUN adduser partemix --uid 1001 --gid 1001 --gecos ""
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER partemix
WORKDIR /home/partemix
......
......@@ -36,7 +36,8 @@ RUN npm install npm@latest -g
#RUN npm cache clear --force
# Add user partemix with no password, add to sudo group
RUN adduser partemix --gecos ""
RUN addgroup partemix --gid 1001
RUN adduser partemix --uid 1001 --gid 1001 --gecos ""
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER partemix
WORKDIR /home/partemix/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment