|
@@ -48,6 +48,21 @@ RUN apt-get update && apt-get install -y \
|
|
|
tar \
|
|
|
--no-install-recommends
|
|
|
|
|
|
+# install seccomp: the version shipped in jessie is too old
|
|
|
+ENV SECCOMP_VERSION 2.3.0
|
|
|
+RUN set -x \
|
|
|
+ && export SECCOMP_PATH="$(mktemp -d)" \
|
|
|
+ && curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" \
|
|
|
+ | tar -xzC "$SECCOMP_PATH" --strip-components=1 \
|
|
|
+ && ( \
|
|
|
+ cd "$SECCOMP_PATH" \
|
|
|
+ && ./configure --prefix=/usr/local \
|
|
|
+ && make \
|
|
|
+ && make install \
|
|
|
+ && ldconfig \
|
|
|
+ ) \
|
|
|
+ && rm -rf "$SECCOMP_PATH"
|
|
|
+
|
|
|
# Get lvm2 source for compiling statically
|
|
|
ENV LVM2_VERSION 2.02.103
|
|
|
RUN mkdir -p /usr/local/lvm2 \
|