Skip to content

Commit 121c7b4

Browse files
committed
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 <[email protected]>
1 parent b50fa98 commit 121c7b4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ go:
33
- 1.7.x
44
- 1.8.x
55
- 1.9.x
6+
- 1.10.x
67
- tip
78

89
matrix:

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
FROM golang:1.8
2-
3-
# libseccomp in jessie is not _quite_ new enough -- need backports version
4-
RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list
1+
FROM golang:1.10-stretch
52

63
RUN apt-get update && apt-get install -y \
74
build-essential \
@@ -17,8 +14,8 @@ RUN apt-get update && apt-get install -y \
1714
libprotobuf-c0-dev \
1815
libnl-3-dev \
1916
libnet-dev \
20-
libseccomp2/jessie-backports \
21-
libseccomp-dev/jessie-backports \
17+
libseccomp2 \
18+
libseccomp-dev \
2219
protobuf-c-compiler \
2320
protobuf-compiler \
2421
python-minimal \

0 commit comments

Comments
 (0)