Merge pull request #2238 from tklauser/runc-libapparmor-dep

Drop libapparmor dependency from runc build docs
This commit is contained in:
Michael Crosby
2018-03-30 10:18:34 -04:00
committed by GitHub
4 changed files with 5 additions and 6 deletions

View File

@@ -14,13 +14,13 @@ RUN ./install-protobuf
# Install runc
FROM golang:1.10 AS runc
RUN apt-get update && apt-get install -y curl libapparmor-dev libseccomp-dev
RUN apt-get update && apt-get install -y curl libseccomp-dev
COPY vendor.conf /go/src/github.com/containerd/containerd/vendor.conf
COPY script/setup/install-runc install-runc
RUN ./install-runc
FROM golang:1.10
RUN apt-get update && apt-get install -y btrfs-tools gcc git libapparmor-dev libseccomp-dev make xfsprogs
RUN apt-get update && apt-get install -y btrfs-tools gcc git libseccomp-dev make xfsprogs
COPY --from=proto3 /usr/local/bin/protoc /usr/local/bin/protoc
COPY --from=proto3 /usr/local/include/google /usr/local/include/google