Skip to content

Commit

Permalink
patch upstream fix for io reader (#14363)
Browse files Browse the repository at this point in the history
Fixes #12850
This patch can fix the GC failure in the NFS v3 env, see distribution/distribution#3309 (comment)

Signed-off-by: Wang Yan <[email protected]>
  • Loading branch information
wy65701436 authored Mar 4, 2021
1 parent 155f438 commit eb8b0b1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions make/photon/registry/builder
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@ cur=$PWD

# the temp folder to store distribution source code...
TEMP=`mktemp -d ${TMPDIR-/tmp}/distribution.XXXXXX`
git clone -b $VERSION https://github.com/docker/distribution.git $TEMP
git clone -b $VERSION https://github.com/distribution/distribution.git $TEMP

# add patch 2879
echo 'add patch https://github.com/docker/distribution/pull/2879 ...'
echo 'add patch https://github.com/distribution/distribution/pull/2879 ...'
cd $TEMP
wget https://github.com/docker/distribution/pull/2879.patch
wget https://github.com/distribution/distribution/pull/2879.patch
git apply 2879.patch

# add patch 3370
echo 'add patch https://github.com/distribution/distribution/pull/3370 ...'
cd $TEMP
wget https://github.com/distribution/distribution/pull/3370.patch
git apply 3370.patch

# add patch redis
git apply $cur/redis.patch
cd $cur

Expand Down

0 comments on commit eb8b0b1

Please sign in to comment.