Upgrade notary complile golang version to 1.9.4 (#6064)

This commit is to upgrade the golang version to 1.9.4, it because a
bug of golang 17.3 could introduce one dns resolver issue for harbor
mentioned by #6031.

The bug of golang is https://github.com/golang/go/issues/15419, it makes
harbor containers to lookup 'endpoint.' firstly which may cause network
issue.

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Yan 2018-10-17 16:04:14 +08:00 committed by GitHub
parent 00c6e2dc5f
commit a5e7ac9164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.7.3
FROM golang:1.9.4
ENV NOTARYPKG github.com/theupdateframework/notary

View File

@ -23,7 +23,7 @@ cur=$PWD
TEMP=`mktemp -d /$TMPDIR/notary.XXXXXX`
git clone -b $VERSION https://github.com/theupdateframework/notary.git $TEMP
echo 'build the notary binary bases on the golang:1.7.3...'
echo 'build the notary binary bases on the golang:1.9.4...'
cp binary.Dockerfile $TEMP
cd $TEMP
docker build -f binary.Dockerfile -t notary-golang $TEMP