Containerfile: arreglar usuarix
All checks were successful
continuous-integration/drone the build was successful
All checks were successful
continuous-integration/drone the build was successful
This commit is contained in:
parent
8857027ba8
commit
e00982be71
1 changed files with 1 additions and 3 deletions
|
@ -10,14 +10,12 @@ COPY packages /root/packages
|
||||||
RUN apk add --no-cache $(cat "/root/packages" | tr "\n" " ")
|
RUN apk add --no-cache $(cat "/root/packages" | tr "\n" " ")
|
||||||
RUN sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb"
|
RUN sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb"
|
||||||
|
|
||||||
RUN mkdir /home && \
|
RUN mkdir -p /home && \
|
||||||
adduser \
|
adduser \
|
||||||
--disabled-password \
|
--disabled-password \
|
||||||
--gecos "" \
|
--gecos "" \
|
||||||
--ingroup suttier \
|
|
||||||
--home /home/suttier \
|
--home /home/suttier \
|
||||||
--no-create-home \
|
--no-create-home \
|
||||||
--uid "$UID" \
|
|
||||||
suttier
|
suttier
|
||||||
USER suttier
|
USER suttier
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue