[Sound-open-firmware] [PATCH 2/2] scripts: docker: Add proxy settings

Pan, Xiuli xiuli.pan at linux.intel.com
Fri May 18 05:13:12 CEST 2018



On 5/17/2018 22:30, Liam Girdwood wrote:
> On Wed, 2018-05-16 at 11:49 +0800, Xiuli Pan wrote:
>>   # Use ToT alsa utils for the latest topology patches.
>>   RUN mkdir -p /root/alsa-build
>> -RUN cd /root/alsa-build && git clone git://git.alsa-project.org/alsa-lib.git
>> -RUN cd /root/alsa-build && git clone git://git.alsa-project.org/alsa-
>> utils.git
>> +RUN cd /root/alsa-build && git clone http://git.alsa-project.org/http/alsa-li
>> b.git
>> +RUN cd /root/alsa-build && git clone http://git.alsa-project.org/http/alsa-ut
>> ils.git
>>   RUN cd /root/alsa-build/alsa-lib && ./gitcompile &&  make install
>>   RUN cd /root/alsa-build/alsa-utils && ./gitcompile &&  make install
> Can we have this as a cmd line option as http repos sometimes lag behind the git
> repo.  Default will be git:// repos.
Hi Liam,

Sorry I did not receive this email at first and pinged.
The git repos will need some more proxy issues. As for to build the 
docker,  I think the minor lag for the alsa-lib is acceptable.
We won't change much about it and actually the ct-ng build is extremely 
slow in docker.
I have had a docker image and I think most people may be happy to pull a 
docker instead of build a docker themselves.
The final built docker is about 10G with cache. It is even slower than 
to build an environment on the host directly.

I pushed mine sof docker image to docker hub, do you think we could have 
a public release for this?
Pull an image is faster than build one. And we don't need to track the 
alsa-lib very close.

Thanks
Xiuli


>
> Liam



More information about the Sound-open-firmware mailing list