2015-05-28 04:06:11 -04:00
|
|
|
#
|
|
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/generate.sh"!
|
|
|
|
#
|
|
|
|
|
2015-09-01 14:26:15 -04:00
|
|
|
FROM ubuntu:trusty
|
2015-05-28 04:06:11 -04:00
|
|
|
|
2015-12-02 14:35:12 -05:00
|
|
|
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libsqlite3-dev libseccomp-dev libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
ENV SECCOMP_VERSION v2.2.3
|
|
|
|
RUN buildDeps=' \
|
|
|
|
automake \
|
|
|
|
libtool \
|
|
|
|
' \
|
|
|
|
&& set -x \
|
|
|
|
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& export SECCOMP_PATH=$(mktemp -d) \
|
|
|
|
&& git clone -b "$SECCOMP_VERSION" --depth 1 https://github.com/seccomp/libseccomp.git "$SECCOMP_PATH" \
|
|
|
|
&& ( \
|
|
|
|
cd "$SECCOMP_PATH" \
|
|
|
|
&& ./autogen.sh \
|
|
|
|
&& ./configure --prefix=/usr \
|
|
|
|
&& make \
|
|
|
|
&& install -c src/.libs/libseccomp.a /usr/lib/libseccomp.a \
|
|
|
|
&& chmod 644 /usr/lib/libseccomp.a \
|
|
|
|
&& ranlib /usr/lib/libseccomp.a \
|
|
|
|
&& ldconfig -n /usr/lib \
|
|
|
|
) \
|
|
|
|
&& rm -rf "$SECCOMP_PATH" \
|
|
|
|
&& apt-get purge -y --auto-remove $buildDeps
|
2015-05-28 04:06:11 -04:00
|
|
|
|
2015-12-03 19:37:13 -05:00
|
|
|
ENV GO_VERSION 1.5.2
|
2015-05-28 04:06:11 -04:00
|
|
|
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
|
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
|
|
|
|
ENV AUTO_GOPATH 1
|
2015-11-14 21:02:08 -05:00
|
|
|
|
2015-12-02 14:35:12 -05:00
|
|
|
ENV DOCKER_BUILDTAGS apparmor seccomp selinux
|