github.com/reds/docker@v1.11.2-rc1/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 libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git 10 11 ENV GO_VERSION 1.5.4 12 RUN curl -fSL "https://storage.googleapis.com/golang/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 pkcs11 selinux 18 ENV RUNC_BUILDTAGS selinux 19