Skip to content

Commit

Permalink
Use descriptive options for better readability (GoogleChromeLabs#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Rao authored and ebidel committed Mar 20, 2018
1 parent 229c426 commit e529acb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh

# Add a chrome user and setup home dir.
RUN groupadd -r chrome && useradd -r -m -g chrome -G audio,video chrome && \
mkdir -p /home/chrome/reports && \
chown -R chrome:chrome /home/chrome
RUN groupadd --system chrome && \
useradd --system --create-home --gid chrome --groups audio,video chrome && \
mkdir --parents /home/chrome/reports && \
chown --recursive chrome:chrome /home/chrome

USER chrome

Expand Down

0 comments on commit e529acb

Please sign in to comment.