From 823b062f37f65292e7d6767739561bf90aa0447b Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Thu, 6 Jul 2017 18:49:42 +0800 Subject: [PATCH] Add go version requirement According to our .travis.yml, we only support go 1.7 and above, I think we should explicitly claim that. As go don't use GO15VENDOREXPERIMENT since 1.7, we can remove that from Makefile as well. Signed-off-by: Qiang Huang --- Makefile | 3 --- README.md | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 795260678..874ace0d5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,3 @@ -GO15VENDOREXPERIMENT=1 -export GO15VENDOREXPERIMENT - PREFIX ?= $(DESTDIR)/usr BINDIR ?= $(DESTDIR)/usr/bin diff --git a/README.md b/README.md index 2b24c19b1..bbcafc26e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # oci-runtime-tool [![Build Status](https://travis-ci.org/opencontainers/runtime-tools.svg?branch=master)](https://travis-ci.org/opencontainers/runtime-tools) [![Go Report Card](https://goreportcard.com/badge/github.com/opencontainers/runtime-tools)](https://goreportcard.com/report/github.com/opencontainers/runtime-tools) oci-runtime-tool is a collection of tools for working with the [OCI runtime specification][runtime-spec]. +To build from source code, runtime-tools requires Go 1.7.x or above. ## Generating an OCI runtime spec configuration files