fix: add patch for registry layers larger than 10G with S3 backend (#16322)

add patch for registry layers larger than 10G with S3 backend

Signed-off-by: Franz Nemeth <franz.nemeth@dynatrace.com>
This commit is contained in:
Franz Nemeth 2022-06-02 16:51:29 +02:00 committed by GitHub
parent 5afd11015a
commit 7c2e591c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,12 @@ cur=$PWD
TEMP=`mktemp -d ${TMPDIR-/tmp}/distribution.XXXXXX`
git clone -b $VERSION https://github.com/distribution/distribution.git $TEMP
# add patch 2815
echo 'add patch https://github.com/distribution/distribution/pull/2815 ...'
cd $TEMP
wget https://github.com/distribution/distribution/pull/2815.patch
git apply 2815.patch
# add patch redis
cd $TEMP
git apply $cur/redis.patch