Containerfile: arreglar usuarix
All checks were successful
continuous-integration/drone the build was successful

This commit is contained in:
Cat /dev/Nulo 2021-09-18 12:21:31 -03:00
parent 8857027ba8
commit e00982be71

View file

@ -10,14 +10,12 @@ COPY packages /root/packages
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 mkdir /home && \
RUN mkdir -p /home && \
adduser \
--disabled-password \
--gecos "" \
--ingroup suttier \
--home /home/suttier \
--no-create-home \
--uid "$UID" \
suttier
USER suttier