вт, 18 мая 2021 г. в 13:54, Willy Tarreau <w...@1wt.eu>: > On Sat, May 15, 2021 at 05:53:57PM +0200, Tim Düsterhus wrote: > > Willy, > > Ilya, > > > > On 5/15/21 8:58 AM, ???? ??????? wrote: > > > I attached a patch that uses "curl". on a distance it seems to be > faster > > > for 50% > > > > > > > This one looks good to me. > > Now merged, thanks guys. > > A quick comment about this, since we're trying to be fast, the following: > > curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz -o > VTest.tar.gz > mkdir ../vtest > tar xvf VTest.tar.gz -C ../vtest --strip-components=1 > > Can be more optimally done this way by paralleling the download and the > extraction: > > mkdir ../vtest > curl -fsSL https://github.com/vtest/VTest/archive/master.tar.gz | \ > tar -C ../vtest -zxf - --strip-components=1 > > However due to vtest being very small (180 kB) it will not make any > difference on this one. >
I wonder if we can benefit from dependent steps, i.e. build VTest just once and deliver binary to other containers (instead of building it every time). > > Cheers, > Willy >