This commit is contained in:
wangyan 2017-07-24 18:32:50 -07:00
parent 3f831b2326
commit c952db3c73

View File

@ -40,7 +40,7 @@ TEMP=`mktemp -d /$TMPDIR/distribution.XXXXXX`
git clone -b $VERSION https://github.com/docker/distribution.git $TEMP
echo 'build the registry binary bases on the golang:1.7.3...'
cp Dockerfile_Golang $TEMP
cp Dockerfile.binary $TEMP
docker build -f $TEMP/Dockerfile.binary -t registry-golang $TEMP
echo 'copy the registry binary to local...'