mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Don't try to purge app-get cache data and clone with depth=1 in Docker for compose web
This commit is contained in:
@@ -27,7 +27,7 @@ RUN chmod a+x ~/bin/repo
|
||||
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
|
||||
-b androidx-main --depth=1 --partial-clone --clone-filter=blob:limit=10M
|
||||
RUN ~/bin/repo sync -c --no-tags --no-clone-bundle -j4
|
||||
|
||||
RUN mkdir -p /mnt/agent
|
||||
@@ -35,5 +35,6 @@ RUN ln -sf /androidx-main/tools/ /mnt/agent/tools
|
||||
RUN ln -sf /androidx-main/prebuilts/ /mnt/agent/prebuilts
|
||||
RUN ln -sf /androidx-main/external /mnt/agent/external
|
||||
|
||||
RUN rm -rf /androidx-main/frameworks/support
|
||||
RUN apt-get clean
|
||||
RUN apt-get purge curl && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||
RUN apt-get purge wget
|
||||
|
||||
Reference in New Issue
Block a user