Switch from mixed jessie/testing to jessie+backports for libseccomp

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2016-04-13 12:37:54 -07:00
parent 445d184c81
commit ca423f1348
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
FROM golang:1.5.3
RUN echo "deb http://ftp.us.debian.org/debian testing main contrib" >> /etc/apt/sources.list
# 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
RUN apt-get update && apt-get install -y \
build-essential \
curl \
@ -9,8 +11,8 @@ RUN apt-get update && apt-get install -y \
libcap-dev \
libprotobuf-dev \
libprotobuf-c0-dev \
libseccomp2 \
libseccomp-dev \
libseccomp2/jessie-backports \
libseccomp-dev/jessie-backports \
protobuf-c-compiler \
protobuf-compiler \
python-minimal \