github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/contrib/builder/rpm/amd64/centos-7/Dockerfile (about) 1 # 2 # THIS FILE IS AUTOGENERATED; SEE "contrib/builder/rpm/amd64/generate.sh"! 3 # 4 5 FROM centos:7 6 7 RUN yum groupinstall -y "Development Tools" 8 RUN yum -y swap -- remove systemd-container systemd-container-libs -- install systemd systemd-libs 9 RUN yum install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel pkgconfig selinux-policy selinux-policy-devel systemd-devel tar git cmake vim-common 10 11 ENV GO_VERSION 1.9.4 12 RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local 13 ENV PATH $PATH:/usr/local/go/bin 14 15 ENV AUTO_GOPATH 1 16 17 ENV DOCKER_BUILDTAGS seccomp selinux 18 ENV RUNC_BUILDTAGS seccomp selinux 19