mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
docker: cerbero: Add in-docker sources caching
As our runner cache in most of the time cold, and is always cold for new contributors, which should greatly speedup the build.
This commit is contained in:
parent
8eec47d8fe
commit
2481157931
1 changed files with 3 additions and 0 deletions
|
@ -13,7 +13,10 @@ RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero.git && \
|
|||
mkdir $HOME/.cerbero && \
|
||||
echo "allow_parallel_build=True" > $HOME/.cerbero/cerbero.cbc && \
|
||||
echo "use_ccache=True" >> $HOME/.cerbero/cerbero.cbc && \
|
||||
echo "local_sources=\"/cerbero/cerbero-sources\"" >> $HOME/.cerbero/cerbero.cbc && \
|
||||
cd cerbero && \
|
||||
./cerbero-uninstalled bootstrap -y --system-only && \
|
||||
./cerbero-uninstalled fetch-bootstrap --build-tools-only && \
|
||||
./cerbero-uninstalled fetch-package gstreamer-1.0 && \
|
||||
cd .. && \
|
||||
dnf clean all
|
||||
|
|
Loading…
Reference in a new issue