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 <dqminh89@gmail.com>
This commit is contained in:
parent
b50fa98d9e
commit
121c7b458e
|
@ -3,6 +3,7 @@ go:
|
|||
- 1.7.x
|
||||
- 1.8.x
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
- tip
|
||||
|
||||
matrix:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue