Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions chromium/chromium-update.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ RUN sudo apt-get update -q && sudo apt-get upgrade -qy
RUN cd /home/user/depot_tools \
&& git pull --rebase origin master

# Update and rebuild Chromium's source code.
# Remove the parallelism limited Ninja alias and
# update and rebuild Chromium's source code.
RUN cd /home/user/chromium/src \
&& git fetch origin \
&& git reset --hard origin/master \
&& gclient sync --delete --jobs=`nproc` \
&& ninja -C out/Default chrome -j`nproc`
&& ninja -C out/Default chrome
3 changes: 3 additions & 0 deletions chromium/chromium.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ENV PATH $PATH:/home/user/depot_tools
RUN echo "\n# Add Chromium's depot_tools to the PATH." >> .bashrc \
&& echo "export PATH=\"\$PATH:/home/user/depot_tools\"" >> .bashrc

# Make default Ninja parallelism use 8 parallel jobs.
RUN echo "\nalias ninja='ninja -j8'" >> .bash_aliases

# Enable bash completion for git cl.
RUN echo "\n# The next line enables bash completion for git cl." >> .bashrc \
&& echo "if [ -f \"/home/user/depot_tools/git_cl_completion.sh\" ]; then" >> .bashrc \
Expand Down