From 121c7b458e734a4d3c9401bcddf998f2de5ecf69 Mon Sep 17 00:00:00 2001 From: Daniel Dao Date: Sun, 4 Feb 2018 00:15:39 +0000 Subject: [PATCH] upgrade to go 1.10 with debian stretch This also remove jessie-backport version of libseccomp and just use stretch bundled version Signed-off-by: Daniel Dao --- .travis.yml | 1 + Dockerfile | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e06d77dc..2120f167 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ go: - 1.7.x - 1.8.x - 1.9.x + - 1.10.x - tip matrix: diff --git a/Dockerfile b/Dockerfile index 7767ad1c..70f147cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -FROM golang:1.8 - -# libseccomp in jessie is not _quite_ new enough -- need backports version -RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list +FROM golang:1.10-stretch RUN apt-get update && apt-get install -y \ build-essential \ @@ -17,8 +14,8 @@ RUN apt-get update && apt-get install -y \ libprotobuf-c0-dev \ libnl-3-dev \ libnet-dev \ - libseccomp2/jessie-backports \ - libseccomp-dev/jessie-backports \ + libseccomp2 \ + libseccomp-dev \ protobuf-c-compiler \ protobuf-compiler \ python-minimal \