mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Update tests to not error on library v2.2.0 and lower
As v2.1.0 is no longer required for successful testing, do not build it in the Dockerfile - instead just use the version Ubuntu ships. Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
FROM golang:1.4
|
||||
|
||||
RUN echo "deb http://ftp.us.debian.org/debian testing main contrib" >> /etc/apt/sources.list
|
||||
RUN apt-get update && apt-get install -y iptables criu=1.6-2 git build-essential autoconf libtool && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Need Libseccomp v2.2.1 minimum, but grab the latest version of the v2.2 releases
|
||||
RUN git clone -b v2.2.3 --depth 1 https://github.com/seccomp/libseccomp /libseccomp
|
||||
RUN cd /libseccomp && ./autogen.sh && ./configure && make && make check && make install
|
||||
# Fix linking error
|
||||
RUN cp /usr/local/lib/libseccomp.so /usr/lib/libseccomp.so.2
|
||||
RUN apt-get update && apt-get install -y iptables criu=1.6-2 libseccomp2 libseccomp-dev && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# setup a playground for us to spawn containers in
|
||||
RUN mkdir /busybox && \
|
||||
|
||||
Reference in New Issue
Block a user