Skip to content

Commit

Permalink
Speed up syncing and creating symlink for compose-web/Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Schahen committed Apr 5, 2021
1 parent d3d0938 commit 6ee7147
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/docker/compose-web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ RUN mkdir androidx-main
WORKDIR androidx-main
RUN ~/bin/repo init -u https://android.googlesource.com/platform/manifest \
-b androidx-main --partial-clone --clone-filter=blob:limit=10M
RUN ~/bin/repo sync
RUN ~/bin/repo sync -c --no-tags --no-clone-bundle -j4
RUN ln -sf /androidx-main/tools/ /mnt/tools
RUN ln -sf /androidx-main/prebuilts/ /mnt/prebuilts
RUN ln -sf /androidx-main/external /mnt/external

0 comments on commit 6ee7147

Please sign in to comment.