mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
dockerfile: download Packages.gz only once
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
2df0257f26
commit
1621ba56ac
@@ -3,7 +3,6 @@ set -e
|
||||
test -d $1 && exit
|
||||
mkdir $1
|
||||
cd $1
|
||||
curl http://mirror.yandex.ru/debian/dists/jessie/main/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'
|
||||
pkg=`curl http://mirror.yandex.ru/debian/dists/jessie/main/binary-amd64/Packages.gz | zcat | grep "Filename.*$1" | awk '{ print $2 }'`
|
||||
wget "http://mirror.yandex.ru/debian/$pkg"
|
||||
pkg=`basename $pkg`
|
||||
|
Reference in New Issue
Block a user