mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
docker: Use a local config for cerbero local_source and home_dir
Ohterwise the cerbero.cbc seems to take precendence on the localconf.cbc during builds, which cause caching issues, since data does not get stored at the right place.
This commit is contained in:
parent
db62f95ba2
commit
bd83865236
1 changed files with 11 additions and 11 deletions
|
@ -13,18 +13,18 @@ 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 && \
|
||||
echo "home_dir=\"/cerbero/cerbero-build\"" >> $HOME/.cerbero/cerbero.cbc && \
|
||||
cd cerbero && \
|
||||
./cerbero-uninstalled bootstrap -y --system-only && \
|
||||
./cerbero-uninstalled fetch-bootstrap && \
|
||||
./cerbero-uninstalled fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c config/cross-win32.cbc fetch-bootstrap && \
|
||||
./cerbero-uninstalled -c config/cross-win32.cbc fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c config/cross-win32.cbc bootstrap -y --system-only && \
|
||||
./cerbero-uninstalled -c config/cross-win64.cbc fetch-bootstrap && \
|
||||
./cerbero-uninstalled -c config/cross-win64.cbc fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c config/cross-win64.cbc bootstrap -y --system-only && \
|
||||
echo "local_sources=\"/cerbero/cerbero-sources\"" >> localconf.cbc && \
|
||||
echo "home_dir=\"/cerbero/cerbero-build\"" >> localconf.cbc && \
|
||||
./cerbero-uninstalled -c localconf.cbc bootstrap -y --system-only && \
|
||||
./cerbero-uninstalled -c localconf.cbc fetch-bootstrap && \
|
||||
./cerbero-uninstalled -c localconf.cbc fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win32.cbc fetch-bootstrap && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win32.cbc fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win32.cbc bootstrap -y --system-only && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc fetch-bootstrap && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc fetch-package gstreamer-1.0 && \
|
||||
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc bootstrap -y --system-only && \
|
||||
cd .. && \
|
||||
rm /cerbero/cerbero-sources/mingw-w*.tar.xz && \
|
||||
rm -rf /cerbero/cerbero-build/{dist,logs,sources} && \
|
||||
|
|
Loading…
Reference in a new issue